SConscript revision 10839:10cac0f0f419
16498Snate@binkert.org# -*- mode:python -*- 22632Sstever@eecs.umich.edu 36498Snate@binkert.org# Copyright (c) 2006 The Regents of The University of Michigan 46498Snate@binkert.org# All rights reserved. 56498Snate@binkert.org# 62632Sstever@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 76498Snate@binkert.org# modification, are permitted provided that the following conditions are 86498Snate@binkert.org# met: redistributions of source code must retain the above copyright 96498Snate@binkert.org# notice, this list of conditions and the following disclaimer; 102632Sstever@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 116498Snate@binkert.org# notice, this list of conditions and the following disclaimer in the 126498Snate@binkert.org# documentation and/or other materials provided with the distribution; 136498Snate@binkert.org# neither the name of the copyright holders nor the names of its 146498Snate@binkert.org# contributors may be used to endorse or promote products derived from 156498Snate@binkert.org# this software without specific prior written permission. 166498Snate@binkert.org# 176498Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 186498Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192632Sstever@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 206498Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 216498Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 226498Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 236498Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 246498Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 256498Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 266498Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 276498Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 286498Snate@binkert.org# 296498Snate@binkert.org# Authors: Nathan Binkert 306498Snate@binkert.org 312632Sstever@eecs.umich.eduImport('*') 322632Sstever@eecs.umich.edu 332632Sstever@eecs.umich.eduif env['CP_ANNOTATE']: 342632Sstever@eecs.umich.edu SimObject('CPA.py') 352632Sstever@eecs.umich.edu Source('cp_annotate.cc') 366498Snate@binkert.orgSource('atomicio.cc') 372632Sstever@eecs.umich.eduSource('bigint.cc') 386498Snate@binkert.orgSource('bitmap.cc') 392632Sstever@eecs.umich.eduSource('callback.cc') 402632Sstever@eecs.umich.eduSource('circlebuf.cc') 412632Sstever@eecs.umich.eduSource('cprintf.cc') 422632Sstever@eecs.umich.eduSource('debug.cc') 432632Sstever@eecs.umich.eduif env['USE_FENV']: 442632Sstever@eecs.umich.edu Source('fenv.c') 452632Sstever@eecs.umich.eduSource('framebuffer.cc') 462632Sstever@eecs.umich.eduSource('hostinfo.cc') 472632Sstever@eecs.umich.eduSource('inet.cc') 482632Sstever@eecs.umich.eduSource('inifile.cc') 492632Sstever@eecs.umich.eduSource('intmath.cc') 502632Sstever@eecs.umich.eduSource('match.cc') 512632Sstever@eecs.umich.eduSource('misc.cc') 522632Sstever@eecs.umich.eduSource('output.cc') 532632Sstever@eecs.umich.eduSource('pollevent.cc') 546498Snate@binkert.orgSource('random.cc') 556498Snate@binkert.orgif env['TARGET_ISA'] != 'null': 562632Sstever@eecs.umich.edu Source('remote_gdb.cc') 574479Sbinkertn@umich.eduSource('socket.cc') 584479Sbinkertn@umich.eduSource('statistics.cc') 594479Sbinkertn@umich.eduSource('str.cc') 604479Sbinkertn@umich.eduSource('time.cc') 612632Sstever@eecs.umich.eduSource('trace.cc') 622632Sstever@eecs.umich.eduSource('types.cc') 632632Sstever@eecs.umich.edu 642632Sstever@eecs.umich.eduSource('loader/aout_object.cc') 652632Sstever@eecs.umich.eduSource('loader/dtb_object.cc') 662632Sstever@eecs.umich.eduSource('loader/ecoff_object.cc') 676498Snate@binkert.orgSource('loader/elf_object.cc') 686498Snate@binkert.orgSource('loader/hex_file.cc') 692632Sstever@eecs.umich.eduSource('loader/object_file.cc') 702632Sstever@eecs.umich.eduSource('loader/raw_object.cc') 712632Sstever@eecs.umich.eduSource('loader/symtab.cc') 722632Sstever@eecs.umich.edu 734479Sbinkertn@umich.eduSource('stats/text.cc') 744479Sbinkertn@umich.edu 754479Sbinkertn@umich.eduDebugFlag('Annotate', "State machine annotation debugging") 764479Sbinkertn@umich.eduDebugFlag('AnnotateQ', "State machine annotation queue debugging") 774479Sbinkertn@umich.eduDebugFlag('AnnotateVerbose', "Dump all state machine annotation details") 784479Sbinkertn@umich.eduDebugFlag('GDBAcc', "Remote debugger accesses") 794479Sbinkertn@umich.eduDebugFlag('GDBExtra', "Dump extra information on reads and writes") 804479Sbinkertn@umich.eduDebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 814479Sbinkertn@umich.eduDebugFlag('GDBRead', "Reads to the remote address space") 824479Sbinkertn@umich.eduDebugFlag('GDBRecv', "Messages received from the remote application") 834479Sbinkertn@umich.eduDebugFlag('GDBSend', "Messages sent to the remote application") 844479Sbinkertn@umich.eduDebugFlag('GDBWrite', "Writes to the remote address space") 854479Sbinkertn@umich.eduDebugFlag('SQL', "SQL queries sent to the server") 864479Sbinkertn@umich.eduDebugFlag('StatEvents', "Statistics event tracking") 874479Sbinkertn@umich.edu 882632Sstever@eecs.umich.eduCompoundFlag('GDBAll', 892632Sstever@eecs.umich.edu [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 902632Sstever@eecs.umich.edu 'GDBExtra' ], 912632Sstever@eecs.umich.edu desc="All Remote debugging flags") 922632Sstever@eecs.umich.eduCompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 934479Sbinkertn@umich.edu desc="All Annotation flags") 942632Sstever@eecs.umich.edu 952632Sstever@eecs.umich.edu