SConscript revision 7768
12139SN/A# -*- mode:python -*- 22139SN/A 32139SN/A# Copyright (c) 2006 The Regents of The University of Michigan 42139SN/A# All rights reserved. 52139SN/A# 62139SN/A# Redistribution and use in source and binary forms, with or without 72139SN/A# modification, are permitted provided that the following conditions are 82139SN/A# met: redistributions of source code must retain the above copyright 92139SN/A# notice, this list of conditions and the following disclaimer; 102139SN/A# redistributions in binary form must reproduce the above copyright 112139SN/A# notice, this list of conditions and the following disclaimer in the 122139SN/A# documentation and/or other materials provided with the distribution; 132139SN/A# neither the name of the copyright holders nor the names of its 142139SN/A# contributors may be used to endorse or promote products derived from 152139SN/A# this software without specific prior written permission. 162139SN/A# 172139SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182139SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192139SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202139SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212139SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222139SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232139SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242139SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252139SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262139SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272139SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert 302139SN/A 314202Sbinkertn@umich.eduImport('*') 322139SN/A 334202Sbinkertn@umich.eduif env['CP_ANNOTATE']: 342152SN/A SimObject('CPA.py') 352152SN/A Source('cp_annotate.cc') 362139SN/ASource('atomicio.cc') 372139SN/ASource('bigint.cc') 382139SN/ASource('callback.cc') 392139SN/ASource('circlebuf.cc') 402139SN/ASource('cprintf.cc') 412152SN/ASource('crc.cc') 422152SN/ASource('debug.cc') 432139SN/ASource('fast_alloc.cc') 442139SN/Aif env['USE_FENV']: 452139SN/A Source('fenv.c') 464781Snate@binkert.orgSource('fifo_buffer.cc') 474781Snate@binkert.orgSource('hostinfo.cc') 487799Sgblack@eecs.umich.eduSource('hybrid_pred.cc') 494781Snate@binkert.orgSource('inet.cc') 504781Snate@binkert.orgSource('inifile.cc') 513170Sstever@eecs.umich.eduSource('intmath.cc') 525664Sgblack@eecs.umich.eduSource('match.cc') 538105Sgblack@eecs.umich.eduSource('misc.cc') 546179Sksewell@umich.eduSource('output.cc') 554781Snate@binkert.orgSource('pollevent.cc') 564781Snate@binkert.orgSource('random.cc') 576329Sgblack@eecs.umich.eduSource('random_mt.cc') 584781Snate@binkert.orgSource('range.cc') 594781Snate@binkert.orgif env['TARGET_ISA'] != 'no': 604781Snate@binkert.org Source('remote_gdb.cc') 614781Snate@binkert.orgSource('sat_counter.cc') 624781Snate@binkert.orgSource('socket.cc') 634781Snate@binkert.orgSource('statistics.cc') 642139SN/ASource('str.cc') 652139SN/ASource('time.cc') 663546Sgblack@eecs.umich.eduSource('trace.cc') 674202Sbinkertn@umich.eduSource('userinfo.cc') 682152SN/A 692152SN/ASource('compression/lzss_compression.cc') 702152SN/A 712152SN/ASource('loader/aout_object.cc') 722152SN/ASource('loader/ecoff_object.cc') 732152SN/ASource('loader/elf_object.cc') 742152SN/ASource('loader/hex_file.cc') 752152SN/ASource('loader/object_file.cc') 762152SN/ASource('loader/raw_object.cc') 772152SN/ASource('loader/symtab.cc') 782152SN/A 792152SN/ASource('stats/output.cc') 802504SN/ASource('stats/text.cc') 812504SN/ASource('stats/visit.cc') 822504SN/A 832504SN/Aif env['USE_MYSQL']: 842152SN/A Source('mysql.cc') 852504SN/A Source('stats/mysql.cc') 862152SN/A 872152SN/ATraceFlag('Annotate', "State machine annotation debugging") 882152SN/ATraceFlag('AnnotateQ', "State machine annotation queue debugging") 892152SN/ATraceFlag('AnnotateVerbose', "Dump all state machine annotation details") 902152SN/ATraceFlag('GDBAcc', "Remote debugger accesses") 912152SN/ATraceFlag('GDBExtra', "Dump extra information on reads and writes") 926993Snate@binkert.orgTraceFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 936993Snate@binkert.orgTraceFlag('GDBRead', "Reads to the remote address space") 946993Snate@binkert.orgTraceFlag('GDBRecv', "Messages received from the remote application") 956993Snate@binkert.orgTraceFlag('GDBSend', "Messages sent to the remote application") 966993Snate@binkert.orgTraceFlag('GDBWrite', "Writes to the remote address space") 976993Snate@binkert.orgTraceFlag('SQL', "SQL queries sent to the server") 986993Snate@binkert.orgTraceFlag('StatEvents', "Statistics event tracking") 996993Snate@binkert.org 1006993Snate@binkert.orgCompoundFlag('GDBAll', 1016993Snate@binkert.org [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 1026993Snate@binkert.org 'GDBExtra' ], 1036993Snate@binkert.org desc="All Remote debugging flags") 1046993Snate@binkert.orgCompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 1056993Snate@binkert.org desc="All Annotation flags") 1066993Snate@binkert.org 1076993Snate@binkert.org