SConscript revision 8999
110152Satgutier@umich.edu# -*- mode:python -*- 210152Satgutier@umich.edu 310152Satgutier@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 410152Satgutier@umich.edu# All rights reserved. 510234Syasuko.eckert@amd.com# 610152Satgutier@umich.edu# Redistribution and use in source and binary forms, with or without 710152Satgutier@umich.edu# modification, are permitted provided that the following conditions are 810152Satgutier@umich.edu# met: redistributions of source code must retain the above copyright 910152Satgutier@umich.edu# notice, this list of conditions and the following disclaimer; 1010152Satgutier@umich.edu# redistributions in binary form must reproduce the above copyright 1110152Satgutier@umich.edu# notice, this list of conditions and the following disclaimer in the 1210152Satgutier@umich.edu# documentation and/or other materials provided with the distribution; 1310152Satgutier@umich.edu# neither the name of the copyright holders nor the names of its 1410152Satgutier@umich.edu# contributors may be used to endorse or promote products derived from 1510152Satgutier@umich.edu# this software without specific prior written permission. 1610152Satgutier@umich.edu# 1710152Satgutier@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1810152Satgutier@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1910152Satgutier@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2010152Satgutier@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2110152Satgutier@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2210152Satgutier@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2310152Satgutier@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2410152Satgutier@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2510152Satgutier@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2610152Satgutier@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2710152Satgutier@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2810152Satgutier@umich.edu# 2910234Syasuko.eckert@amd.com# Authors: Nathan Binkert 3010152Satgutier@umich.edu 3110152Satgutier@umich.eduImport('*') 3210152Satgutier@umich.edu 3310152Satgutier@umich.eduif env['CP_ANNOTATE']: 3410234Syasuko.eckert@amd.com SimObject('CPA.py') 3510152Satgutier@umich.edu Source('cp_annotate.cc') 3610152Satgutier@umich.eduSource('atomicio.cc') 3710152Satgutier@umich.eduSource('bigint.cc') 3810234Syasuko.eckert@amd.comSource('bitmap.cc') 3910152Satgutier@umich.eduSource('callback.cc') 4010152Satgutier@umich.eduSource('circlebuf.cc') 4110152Satgutier@umich.eduSource('cprintf.cc') 4210152Satgutier@umich.eduSource('debug.cc') 4310152Satgutier@umich.eduSource('fast_alloc.cc') 4410234Syasuko.eckert@amd.comif env['USE_FENV']: 4510234Syasuko.eckert@amd.com Source('fenv.c') 4610234Syasuko.eckert@amd.comSource('hostinfo.cc') 4710234Syasuko.eckert@amd.comSource('inet.cc') 4810234Syasuko.eckert@amd.comSource('inifile.cc') 4910234Syasuko.eckert@amd.comSource('intmath.cc') 5010234Syasuko.eckert@amd.comSource('match.cc') 5110234Syasuko.eckert@amd.comSource('misc.cc') 5210234Syasuko.eckert@amd.comSource('output.cc') 5310234Syasuko.eckert@amd.comSource('pollevent.cc') 5410234Syasuko.eckert@amd.comSource('random.cc') 5510234Syasuko.eckert@amd.comSource('random_mt.cc') 5610234Syasuko.eckert@amd.comSource('range.cc') 5710234Syasuko.eckert@amd.comif env['TARGET_ISA'] != 'no': 5810234Syasuko.eckert@amd.com Source('remote_gdb.cc') 5910234Syasuko.eckert@amd.comSource('socket.cc') 6010234Syasuko.eckert@amd.comSource('statistics.cc') 6110234Syasuko.eckert@amd.comSource('str.cc') 6210234Syasuko.eckert@amd.comSource('time.cc') 6310152Satgutier@umich.eduSource('trace.cc') 6410152Satgutier@umich.eduSource('userinfo.cc') 6510234Syasuko.eckert@amd.com 6610234Syasuko.eckert@amd.comSource('loader/aout_object.cc') 6710234Syasuko.eckert@amd.comSource('loader/ecoff_object.cc') 6810234Syasuko.eckert@amd.comSource('loader/elf_object.cc') 6910234Syasuko.eckert@amd.comSource('loader/hex_file.cc') 7010234Syasuko.eckert@amd.comSource('loader/object_file.cc') 7110234Syasuko.eckert@amd.comSource('loader/raw_object.cc') 7210234Syasuko.eckert@amd.comSource('loader/symtab.cc') 7310234Syasuko.eckert@amd.com 7410234Syasuko.eckert@amd.comSource('stats/text.cc') 7510234Syasuko.eckert@amd.com 7610234Syasuko.eckert@amd.comDebugFlag('Annotate', "State machine annotation debugging") 7710234Syasuko.eckert@amd.comDebugFlag('AnnotateQ', "State machine annotation queue debugging") 7810234Syasuko.eckert@amd.comDebugFlag('AnnotateVerbose', "Dump all state machine annotation details") 7910234Syasuko.eckert@amd.comDebugFlag('GDBAcc', "Remote debugger accesses") 8010234Syasuko.eckert@amd.comDebugFlag('GDBExtra', "Dump extra information on reads and writes") 8110234Syasuko.eckert@amd.comDebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 8210234Syasuko.eckert@amd.comDebugFlag('GDBRead', "Reads to the remote address space") 8310234Syasuko.eckert@amd.comDebugFlag('GDBRecv', "Messages received from the remote application") 8410234Syasuko.eckert@amd.comDebugFlag('GDBSend', "Messages sent to the remote application") 8510152Satgutier@umich.eduDebugFlag('GDBWrite', "Writes to the remote address space") 8610152Satgutier@umich.eduDebugFlag('SQL', "SQL queries sent to the server") 8710234Syasuko.eckert@amd.comDebugFlag('StatEvents', "Statistics event tracking") 8810234Syasuko.eckert@amd.com 8910234Syasuko.eckert@amd.comCompoundFlag('GDBAll', 9010152Satgutier@umich.edu [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 9110234Syasuko.eckert@amd.com 'GDBExtra' ], 9210234Syasuko.eckert@amd.com desc="All Remote debugging flags") 9310234Syasuko.eckert@amd.comCompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 9410234Syasuko.eckert@amd.com desc="All Annotation flags") 9510152Satgutier@umich.edu 9610234Syasuko.eckert@amd.com