SConscript revision 10839
11046SN/A# -*- mode:python -*- 21046SN/A 31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan 41046SN/A# All rights reserved. 51046SN/A# 61046SN/A# Redistribution and use in source and binary forms, with or without 71046SN/A# modification, are permitted provided that the following conditions are 81046SN/A# met: redistributions of source code must retain the above copyright 91046SN/A# notice, this list of conditions and the following disclaimer; 101046SN/A# redistributions in binary form must reproduce the above copyright 111046SN/A# notice, this list of conditions and the following disclaimer in the 121046SN/A# documentation and/or other materials provided with the distribution; 131046SN/A# neither the name of the copyright holders nor the names of its 141046SN/A# contributors may be used to endorse or promote products derived from 151046SN/A# this software without specific prior written permission. 161046SN/A# 171046SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 181046SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 191046SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 201046SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 211046SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 221046SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 231046SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 241046SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 251046SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 261046SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 271046SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert 302665Ssaidi@eecs.umich.edu 311046SN/AImport('*') 324202Sbinkertn@umich.edu 331530SN/Aif env['CP_ANNOTATE']: 344202Sbinkertn@umich.edu SimObject('CPA.py') 354202Sbinkertn@umich.edu Source('cp_annotate.cc') 363645Sbinkertn@umich.eduSource('atomicio.cc') 375522Snate@binkert.orgSource('bigint.cc') 384382Sbinkertn@umich.eduSource('bitmap.cc') 394382Sbinkertn@umich.eduSource('callback.cc') 405471Snate@binkert.orgSource('circlebuf.cc') 415801Snate@binkert.orgSource('cprintf.cc') 425801Snate@binkert.orgSource('debug.cc') 434382Sbinkertn@umich.eduif env['USE_FENV']: 444382Sbinkertn@umich.edu Source('fenv.c') 455470Snate@binkert.orgSource('framebuffer.cc') 464382Sbinkertn@umich.eduSource('hostinfo.cc') 474382Sbinkertn@umich.eduSource('inet.cc') 484762Snate@binkert.orgSource('inifile.cc') 494382Sbinkertn@umich.eduSource('intmath.cc') 505799Snate@binkert.orgSource('match.cc') 517674Snate@binkert.orgSource('misc.cc') 528295Snate@binkert.orgSource('output.cc') 535467Snate@binkert.orgSource('pollevent.cc') 545467Snate@binkert.orgSource('random.cc') 556502Snate@binkert.orgif env['TARGET_ISA'] != 'null': 566654Snate@binkert.org Source('remote_gdb.cc') 578999Suri.wiener@arm.comSource('socket.cc') 586501Snate@binkert.orgSource('statistics.cc') 595467Snate@binkert.orgSource('str.cc') 605467Snate@binkert.orgSource('time.cc') 616500Snate@binkert.orgSource('trace.cc') 628224Snate@binkert.orgSource('types.cc') 636654Snate@binkert.org 647503Snate@binkert.orgSource('loader/aout_object.cc') 657816Ssteve.reinhardt@amd.comSource('loader/dtb_object.cc') 662667Sstever@eecs.umich.eduSource('loader/ecoff_object.cc') 674382Sbinkertn@umich.eduSource('loader/elf_object.cc') 684382Sbinkertn@umich.eduSource('loader/hex_file.cc') 694382Sbinkertn@umich.eduSource('loader/object_file.cc') 708597Ssteve.reinhardt@amd.comSource('loader/raw_object.cc') 717675Snate@binkert.orgSource('loader/symtab.cc') 724382Sbinkertn@umich.edu 734382Sbinkertn@umich.eduSource('stats/text.cc') 744382Sbinkertn@umich.edu 757677Snate@binkert.orgDebugFlag('Annotate', "State machine annotation debugging") 76DebugFlag('AnnotateQ', "State machine annotation queue debugging") 77DebugFlag('AnnotateVerbose', "Dump all state machine annotation details") 78DebugFlag('GDBAcc', "Remote debugger accesses") 79DebugFlag('GDBExtra', "Dump extra information on reads and writes") 80DebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 81DebugFlag('GDBRead', "Reads to the remote address space") 82DebugFlag('GDBRecv', "Messages received from the remote application") 83DebugFlag('GDBSend', "Messages sent to the remote application") 84DebugFlag('GDBWrite', "Writes to the remote address space") 85DebugFlag('SQL', "SQL queries sent to the server") 86DebugFlag('StatEvents', "Statistics event tracking") 87 88CompoundFlag('GDBAll', 89 [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 90 'GDBExtra' ], 91 desc="All Remote debugging flags") 92CompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 93 desc="All Annotation flags") 94 95