SConscript revision 9234:49df6e096beb
12SN/A# -*- mode:python -*- 21762SN/A 32SN/A# Copyright (c) 2006 The Regents of The University of Michigan 42SN/A# All rights reserved. 52SN/A# 62SN/A# Redistribution and use in source and binary forms, with or without 72SN/A# modification, are permitted provided that the following conditions are 82SN/A# met: redistributions of source code must retain the above copyright 92SN/A# notice, this list of conditions and the following disclaimer; 102SN/A# redistributions in binary form must reproduce the above copyright 112SN/A# notice, this list of conditions and the following disclaimer in the 122SN/A# documentation and/or other materials provided with the distribution; 132SN/A# neither the name of the copyright holders nor the names of its 142SN/A# contributors may be used to endorse or promote products derived from 152SN/A# this software without specific prior written permission. 162SN/A# 172SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272665Ssaidi@eecs.umich.edu# 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 312SN/AImport('*') 322SN/A 332SN/Aif env['CP_ANNOTATE']: 342SN/A SimObject('CPA.py') 352SN/A Source('cp_annotate.cc') 362655Sstever@eecs.umich.eduSource('atomicio.cc') 372655Sstever@eecs.umich.eduSource('bigint.cc') 382SN/ASource('bitmap.cc') 392SN/ASource('callback.cc') 401399SN/ASource('circlebuf.cc') 411396SN/ASource('cprintf.cc') 422SN/ASource('debug.cc') 432SN/Aif env['USE_FENV']: 442729Ssaidi@eecs.umich.edu Source('fenv.c') 452SN/ASource('hostinfo.cc') 461310SN/ASource('inet.cc') 472SN/ASource('inifile.cc') 482SN/ASource('intmath.cc') 492SN/ASource('match.cc') 502667Sstever@eecs.umich.eduSource('misc.cc') 5156SN/ASource('output.cc') 52146SN/ASource('pollevent.cc') 531388SN/ASource('random.cc') 5456SN/ASource('random_mt.cc') 5556SN/Aif env['TARGET_ISA'] != 'no': 561311SN/A Source('remote_gdb.cc') 57400SN/ASource('socket.cc') 581717SN/ASource('statistics.cc') 591717SN/ASource('str.cc') 60146SN/ASource('time.cc') 61146SN/ASource('trace.cc') 62146SN/ASource('userinfo.cc') 63146SN/A 6456SN/ASource('loader/aout_object.cc') 6556SN/ASource('loader/ecoff_object.cc') 6656SN/ASource('loader/elf_object.cc') 67695SN/ASource('loader/hex_file.cc') 68695SN/ASource('loader/object_file.cc') 691696SN/ASource('loader/raw_object.cc') 702SN/ASource('loader/symtab.cc') 712SN/A 722SN/ASource('stats/text.cc') 732SN/A 742SN/ADebugFlag('Annotate', "State machine annotation debugging") 752SN/ADebugFlag('AnnotateQ', "State machine annotation queue debugging") 76329SN/ADebugFlag('AnnotateVerbose', "Dump all state machine annotation details") 772SN/ADebugFlag('GDBAcc', "Remote debugger accesses") 782SN/ADebugFlag('GDBExtra', "Dump extra information on reads and writes") 792SN/ADebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 802SN/ADebugFlag('GDBRead', "Reads to the remote address space") 812SN/ADebugFlag('GDBRecv', "Messages received from the remote application") 822SN/ADebugFlag('GDBSend', "Messages sent to the remote application") 832SN/ADebugFlag('GDBWrite', "Writes to the remote address space") 842SN/ADebugFlag('SQL', "SQL queries sent to the server") 852SN/ADebugFlag('StatEvents', "Statistics event tracking") 862SN/A 872SN/ACompoundFlag('GDBAll', 882SN/A [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 89329SN/A 'GDBExtra' ], 90329SN/A desc="All Remote debugging flags") 91329SN/ACompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 92329SN/A desc="All Annotation flags") 93329SN/A 94329SN/A