SConscript revision 11176
14484Sbinkertn@umich.edu# -*- mode:python -*- 24484Sbinkertn@umich.edu 34484Sbinkertn@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 44484Sbinkertn@umich.edu# All rights reserved. 54484Sbinkertn@umich.edu# 64484Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without 74484Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are 84484Sbinkertn@umich.edu# met: redistributions of source code must retain the above copyright 94484Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer; 104484Sbinkertn@umich.edu# redistributions in binary form must reproduce the above copyright 114484Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the 124484Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution; 134484Sbinkertn@umich.edu# neither the name of the copyright holders nor the names of its 144484Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from 154484Sbinkertn@umich.edu# this software without specific prior written permission. 164484Sbinkertn@umich.edu# 174484Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 184484Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 194484Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 204484Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 214484Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 224484Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 234484Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 244484Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 254484Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 264484Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 274484Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 284484Sbinkertn@umich.edu# 294484Sbinkertn@umich.edu# Authors: Nathan Binkert 304484Sbinkertn@umich.edu 314494Ssaidi@eecs.umich.eduImport('*') 324484Sbinkertn@umich.edu 336121Snate@binkert.orgif env['CP_ANNOTATE']: 344484Sbinkertn@umich.edu SimObject('CPA.py') 358946Sandreas.hansson@arm.com Source('cp_annotate.cc') 368946Sandreas.hansson@arm.comSource('atomicio.cc') 374484Sbinkertn@umich.eduSource('bigint.cc') 384484Sbinkertn@umich.eduSource('bitmap.cc') 394484Sbinkertn@umich.eduSource('callback.cc') 404781Snate@binkert.orgSource('cprintf.cc') 414484Sbinkertn@umich.eduSource('debug.cc') 424484Sbinkertn@umich.eduif env['USE_FENV']: 434484Sbinkertn@umich.edu Source('fenv.c') 444484Sbinkertn@umich.eduSource('framebuffer.cc') 458349Sgblack@eecs.umich.eduSource('hostinfo.cc') 468349Sgblack@eecs.umich.eduSource('inet.cc') 474484Sbinkertn@umich.eduSource('inifile.cc') 484484Sbinkertn@umich.eduSource('intmath.cc') 494484Sbinkertn@umich.eduSource('match.cc') 504484Sbinkertn@umich.eduSource('misc.cc') 514484Sbinkertn@umich.eduSource('output.cc') 524484Sbinkertn@umich.eduSource('pollevent.cc') 534484Sbinkertn@umich.eduSource('random.cc') 544484Sbinkertn@umich.eduif env['TARGET_ISA'] != 'null': 554484Sbinkertn@umich.edu Source('remote_gdb.cc') 564484Sbinkertn@umich.eduSource('socket.cc') 574484Sbinkertn@umich.eduSource('statistics.cc') 584484Sbinkertn@umich.eduSource('str.cc') 594484Sbinkertn@umich.eduSource('time.cc') 604484Sbinkertn@umich.eduSource('trace.cc') 614484Sbinkertn@umich.eduSource('types.cc') 624484Sbinkertn@umich.edu 634484Sbinkertn@umich.eduSource('loader/aout_object.cc') 644484Sbinkertn@umich.eduSource('loader/dtb_object.cc') 654484Sbinkertn@umich.eduSource('loader/ecoff_object.cc') 664484Sbinkertn@umich.eduSource('loader/elf_object.cc') 674484Sbinkertn@umich.eduSource('loader/hex_file.cc') 684484Sbinkertn@umich.eduSource('loader/object_file.cc') 694484Sbinkertn@umich.eduSource('loader/raw_object.cc') 704484Sbinkertn@umich.eduSource('loader/symtab.cc') 714484Sbinkertn@umich.edu 724484Sbinkertn@umich.eduSource('stats/text.cc') 734484Sbinkertn@umich.edu 744484Sbinkertn@umich.eduDebugFlag('Annotate', "State machine annotation debugging") 754484Sbinkertn@umich.eduDebugFlag('AnnotateQ', "State machine annotation queue debugging") 764484Sbinkertn@umich.eduDebugFlag('AnnotateVerbose', "Dump all state machine annotation details") 774484Sbinkertn@umich.eduDebugFlag('GDBAcc', "Remote debugger accesses") 784484Sbinkertn@umich.eduDebugFlag('GDBExtra', "Dump extra information on reads and writes") 794484Sbinkertn@umich.eduDebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 804484Sbinkertn@umich.eduDebugFlag('GDBRead', "Reads to the remote address space") 814484Sbinkertn@umich.eduDebugFlag('GDBRecv', "Messages received from the remote application") 824484Sbinkertn@umich.eduDebugFlag('GDBSend', "Messages sent to the remote application") 834484Sbinkertn@umich.eduDebugFlag('GDBWrite', "Writes to the remote address space") 844484Sbinkertn@umich.eduDebugFlag('SQL', "SQL queries sent to the server") 854484Sbinkertn@umich.eduDebugFlag('StatEvents', "Statistics event tracking") 864484Sbinkertn@umich.edu 874484Sbinkertn@umich.eduCompoundFlag('GDBAll', 884484Sbinkertn@umich.edu [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 894484Sbinkertn@umich.edu 'GDBExtra' ], 904484Sbinkertn@umich.edu desc="All Remote debugging flags") 914484Sbinkertn@umich.eduCompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 924484Sbinkertn@umich.edu desc="All Annotation flags") 934484Sbinkertn@umich.edu 946121Snate@binkert.org