SConscript revision 8739
15369Ssaidi@eecs.umich.edu# -*- mode:python -*-
23005Sstever@eecs.umich.edu
33005Sstever@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
43005Sstever@eecs.umich.edu# All rights reserved.
53005Sstever@eecs.umich.edu#
63005Sstever@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
73005Sstever@eecs.umich.edu# modification, are permitted provided that the following conditions are
83005Sstever@eecs.umich.edu# met: redistributions of source code must retain the above copyright
93005Sstever@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
103005Sstever@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
113005Sstever@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
123005Sstever@eecs.umich.edu# documentation and/or other materials provided with the distribution;
133005Sstever@eecs.umich.edu# neither the name of the copyright holders nor the names of its
143005Sstever@eecs.umich.edu# contributors may be used to endorse or promote products derived from
153005Sstever@eecs.umich.edu# this software without specific prior written permission.
163005Sstever@eecs.umich.edu#
173005Sstever@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
183005Sstever@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
193005Sstever@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
203005Sstever@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
213005Sstever@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
223005Sstever@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
233005Sstever@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
243005Sstever@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
253005Sstever@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
263005Sstever@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
273005Sstever@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
283005Sstever@eecs.umich.edu#
292710SN/A# Authors: Nathan Binkert
302710SN/A
313005Sstever@eecs.umich.eduImport('*')
322889SN/A
332667SN/Aif env['CP_ANNOTATE']:
345457Ssaidi@eecs.umich.edu    SimObject('CPA.py')
355457Ssaidi@eecs.umich.edu    Source('cp_annotate.cc')
365822Ssaidi@eecs.umich.eduSource('atomicio.cc')
375457Ssaidi@eecs.umich.eduSource('bigint.cc')
383005Sstever@eecs.umich.eduSource('bitmap.cc')
392856SN/ASource('callback.cc')
405514SMichael.Adler@intel.comSource('circlebuf.cc')
412917SN/ASource('cprintf.cc')
423395Shsul@eecs.umich.eduSource('debug.cc')
433448Shsul@eecs.umich.eduSource('fast_alloc.cc')
445369Ssaidi@eecs.umich.eduif env['USE_FENV']:
453394Shsul@eecs.umich.edu    Source('fenv.c')
463444Sktlim@umich.eduSource('hostinfo.cc')
473444Sktlim@umich.eduSource('inet.cc')
483444Sktlim@umich.eduSource('inifile.cc')
493444Sktlim@umich.eduSource('intmath.cc')
502424SN/ASource('match.cc')
512957SN/ASource('misc.cc')
522957SN/ASource('output.cc')
533323Shsul@eecs.umich.eduSource('pollevent.cc')
543005Sstever@eecs.umich.eduSource('random.cc')
555514SMichael.Adler@intel.comSource('random_mt.cc')
565514SMichael.Adler@intel.comSource('range.cc')
572957SN/Aif env['TARGET_ISA'] != 'no':
585514SMichael.Adler@intel.com    Source('remote_gdb.cc')
595514SMichael.Adler@intel.comSource('socket.cc')
605514SMichael.Adler@intel.comSource('statistics.cc')
615514SMichael.Adler@intel.comSource('str.cc')
623323Shsul@eecs.umich.eduSource('time.cc')
633444Sktlim@umich.eduSource('trace.cc')
642957SN/ASource('userinfo.cc')
652957SN/A
662957SN/ASource('loader/aout_object.cc')
672957SN/ASource('loader/ecoff_object.cc')
682957SN/ASource('loader/elf_object.cc')
692957SN/ASource('loader/hex_file.cc')
702957SN/ASource('loader/object_file.cc')
715369Ssaidi@eecs.umich.eduSource('loader/raw_object.cc')
725369Ssaidi@eecs.umich.eduSource('loader/symtab.cc')
735369Ssaidi@eecs.umich.edu
745369Ssaidi@eecs.umich.eduSource('stats/text.cc')
755369Ssaidi@eecs.umich.edu
765369Ssaidi@eecs.umich.eduDebugFlag('Annotate', "State machine annotation debugging")
775369Ssaidi@eecs.umich.eduDebugFlag('AnnotateQ', "State machine annotation queue debugging")
785369Ssaidi@eecs.umich.eduDebugFlag('AnnotateVerbose', "Dump all state machine annotation details")
795369Ssaidi@eecs.umich.eduDebugFlag('GDBAcc', "Remote debugger accesses")
805369Ssaidi@eecs.umich.eduDebugFlag('GDBExtra', "Dump extra information on reads and writes")
815369Ssaidi@eecs.umich.eduDebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.")
825369Ssaidi@eecs.umich.eduDebugFlag('GDBRead', "Reads to the remote address space")
835369Ssaidi@eecs.umich.eduDebugFlag('GDBRecv', "Messages received from the remote application")
845369Ssaidi@eecs.umich.eduDebugFlag('GDBSend', "Messages sent to the remote application")
855369Ssaidi@eecs.umich.eduDebugFlag('GDBWrite', "Writes to the remote address space")
865369Ssaidi@eecs.umich.eduDebugFlag('SQL', "SQL queries sent to the server")
872801SN/ADebugFlag('StatEvents', "Statistics event tracking")
882801SN/A
895514SMichael.Adler@intel.comCompoundFlag('GDBAll',
905514SMichael.Adler@intel.com    [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv',
915514SMichael.Adler@intel.com      'GDBExtra' ],
925514SMichael.Adler@intel.com    desc="All Remote debugging flags")
932418SN/ACompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'],
946391Sksewell@umich.edu    desc="All Annotation flags")
956391Sksewell@umich.edu
966391Sksewell@umich.edu