SConscript revision 7799
12155SN/A# -*- mode:python -*- 22155SN/A 32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan 42155SN/A# All rights reserved. 52155SN/A# 62155SN/A# Redistribution and use in source and binary forms, with or without 72155SN/A# modification, are permitted provided that the following conditions are 82155SN/A# met: redistributions of source code must retain the above copyright 92155SN/A# notice, this list of conditions and the following disclaimer; 102155SN/A# redistributions in binary form must reproduce the above copyright 112155SN/A# notice, this list of conditions and the following disclaimer in the 122155SN/A# documentation and/or other materials provided with the distribution; 132155SN/A# neither the name of the copyright holders nor the names of its 142155SN/A# contributors may be used to endorse or promote products derived from 152155SN/A# this software without specific prior written permission. 162155SN/A# 172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert 302155SN/A 314202Sbinkertn@umich.eduImport('*') 322155SN/A 337768SAli.Saidi@ARM.comif env['CP_ANNOTATE']: 347768SAli.Saidi@ARM.com SimObject('CPA.py') 357768SAli.Saidi@ARM.com Source('cp_annotate.cc') 362178SN/ASource('atomicio.cc') 372178SN/ASource('bigint.cc') 382178SN/ASource('callback.cc') 392178SN/ASource('circlebuf.cc') 402178SN/ASource('cprintf.cc') 412178SN/ASource('crc.cc') 422178SN/ASource('debug.cc') 432178SN/ASource('fast_alloc.cc') 442178SN/Aif env['USE_FENV']: 452178SN/A Source('fenv.c') 462178SN/ASource('fifo_buffer.cc') 472155SN/ASource('hostinfo.cc') 485865Sksewell@umich.eduSource('hybrid_pred.cc') 496181Sksewell@umich.eduSource('inet.cc') 506181Sksewell@umich.eduSource('inifile.cc') 515865Sksewell@umich.eduSource('intmath.cc') 523918Ssaidi@eecs.umich.eduSource('match.cc') 535865Sksewell@umich.eduSource('misc.cc') 542623SN/ASource('output.cc') 553918Ssaidi@eecs.umich.eduSource('pollevent.cc') 562155SN/ASource('random.cc') 572155SN/ASource('random_mt.cc') 582292SN/ASource('range.cc') 596181Sksewell@umich.eduif env['TARGET_ISA'] != 'no': 606181Sksewell@umich.edu Source('remote_gdb.cc') 613918Ssaidi@eecs.umich.eduSource('sat_counter.cc') 622292SN/ASource('socket.cc') 632292SN/ASource('statistics.cc') 642292SN/ASource('str.cc') 653918Ssaidi@eecs.umich.eduSource('time.cc') 662292SN/ASource('trace.cc') 672292SN/ASource('userinfo.cc') 682766Sktlim@umich.edu 692766Sktlim@umich.eduSource('compression/lzss_compression.cc') 702766Sktlim@umich.edu 712921Sktlim@umich.eduSource('loader/aout_object.cc') 722921Sktlim@umich.eduSource('loader/ecoff_object.cc') 732766Sktlim@umich.eduSource('loader/elf_object.cc') 742766Sktlim@umich.eduSource('loader/hex_file.cc') 755529Snate@binkert.orgSource('loader/object_file.cc') 762766Sktlim@umich.eduSource('loader/raw_object.cc') 774762Snate@binkert.orgSource('loader/symtab.cc') 782155SN/A 792155SN/ASource('stats/output.cc') 802155SN/ASource('stats/text.cc') 812155SN/ASource('stats/visit.cc') 822155SN/A 832155SN/Aif env['USE_MYSQL']: 842766Sktlim@umich.edu Source('mysql.cc') 852155SN/A Source('stats/mysql.cc') 865865Sksewell@umich.edu 872155SN/ATraceFlag('Annotate', "State machine annotation debugging") 882155SN/ATraceFlag('AnnotateQ', "State machine annotation queue debugging") 892155SN/ATraceFlag('AnnotateVerbose', "Dump all state machine annotation details") 902155SN/ATraceFlag('GDBAcc', "Remote debugger accesses") 912178SN/ATraceFlag('GDBExtra', "Dump extra information on reads and writes") 922178SN/ATraceFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 937756SAli.Saidi@ARM.comTraceFlag('GDBRead', "Reads to the remote address space") 942766Sktlim@umich.eduTraceFlag('GDBRecv', "Messages received from the remote application") 952178SN/ATraceFlag('GDBSend', "Messages sent to the remote application") 962178SN/ATraceFlag('GDBWrite', "Writes to the remote address space") 976994Snate@binkert.orgTraceFlag('SQL', "SQL queries sent to the server") 982178SN/ATraceFlag('StatEvents', "Statistics event tracking") 992766Sktlim@umich.edu 1002766Sktlim@umich.eduCompoundFlag('GDBAll', 1012766Sktlim@umich.edu [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 1022788Sktlim@umich.edu 'GDBExtra' ], 1032178SN/A desc="All Remote debugging flags") 1042733Sktlim@umich.eduCompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 1052733Sktlim@umich.edu desc="All Annotation flags") 1062817Sksewell@umich.edu 1072733Sktlim@umich.edu