SConscript revision 12334:e0ab29a34764
1955SN/A# -*- mode:python -*- 2955SN/A 37816Ssteve.reinhardt@amd.com# Copyright (c) 2006 The Regents of The University of Michigan 45871Snate@binkert.org# All rights reserved. 51762SN/A# 6955SN/A# Redistribution and use in source and binary forms, with or without 7955SN/A# modification, are permitted provided that the following conditions are 8955SN/A# met: redistributions of source code must retain the above copyright 9955SN/A# notice, this list of conditions and the following disclaimer; 10955SN/A# redistributions in binary form must reproduce the above copyright 11955SN/A# notice, this list of conditions and the following disclaimer in the 12955SN/A# documentation and/or other materials provided with the distribution; 13955SN/A# neither the name of the copyright holders nor the names of its 14955SN/A# contributors may be used to endorse or promote products derived from 15955SN/A# this software without specific prior written permission. 16955SN/A# 17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28955SN/A# 29955SN/A# Authors: Nathan Binkert 302665Ssaidi@eecs.umich.edu 312665Ssaidi@eecs.umich.eduImport('*') 325863Snate@binkert.org 33955SN/Aif env['CP_ANNOTATE']: 34955SN/A SimObject('CPA.py') 35955SN/A Source('cp_annotate.cc') 36955SN/ASimObject('Graphics.py') 37955SN/ASource('atomicio.cc') 382632Sstever@eecs.umich.eduSource('bitfield.cc') 392632Sstever@eecs.umich.eduSource('bigint.cc') 402632Sstever@eecs.umich.eduSource('imgwriter.cc') 412632Sstever@eecs.umich.eduSource('bmpwriter.cc') 42955SN/ASource('callback.cc') 432632Sstever@eecs.umich.eduSource('cprintf.cc') 442632Sstever@eecs.umich.eduSource('debug.cc') 452761Sstever@eecs.umich.eduif env['USE_FENV']: 462632Sstever@eecs.umich.edu Source('fenv.c') 472632Sstever@eecs.umich.eduif env['USE_PNG']: 482632Sstever@eecs.umich.edu Source('pngwriter.cc') 492761Sstever@eecs.umich.eduSource('framebuffer.cc') 502761Sstever@eecs.umich.eduSource('hostinfo.cc') 512761Sstever@eecs.umich.eduSource('inet.cc') 522632Sstever@eecs.umich.eduSource('inifile.cc') 532632Sstever@eecs.umich.eduSource('intmath.cc') 542761Sstever@eecs.umich.eduSource('logging.cc') 552761Sstever@eecs.umich.eduSource('match.cc') 562761Sstever@eecs.umich.eduSource('output.cc') 572761Sstever@eecs.umich.eduSource('pollevent.cc') 582761Sstever@eecs.umich.eduSource('random.cc') 592632Sstever@eecs.umich.eduif env['TARGET_ISA'] != 'null': 602632Sstever@eecs.umich.edu Source('remote_gdb.cc') 612632Sstever@eecs.umich.eduSource('socket.cc') 622632Sstever@eecs.umich.eduSource('statistics.cc') 632632Sstever@eecs.umich.eduSource('str.cc') 642632Sstever@eecs.umich.eduSource('time.cc') 652632Sstever@eecs.umich.eduSource('trace.cc') 66955SN/ASource('types.cc') 67955SN/A 68955SN/ASource('loader/aout_object.cc') 695863Snate@binkert.orgSource('loader/dtb_object.cc') 705863Snate@binkert.orgSource('loader/ecoff_object.cc') 715863Snate@binkert.orgSource('loader/elf_object.cc') 725863Snate@binkert.orgSource('loader/hex_file.cc') 735863Snate@binkert.orgSource('loader/object_file.cc') 745863Snate@binkert.orgSource('loader/raw_object.cc') 755863Snate@binkert.orgSource('loader/symtab.cc') 765863Snate@binkert.org 775863Snate@binkert.orgSource('stats/text.cc') 785863Snate@binkert.org 795863Snate@binkert.orgGTest('bituniontest', 'bituniontest.cc') 805863Snate@binkert.org 815863Snate@binkert.orgDebugFlag('Annotate', "State machine annotation debugging") 825863Snate@binkert.orgDebugFlag('AnnotateQ', "State machine annotation queue debugging") 835863Snate@binkert.orgDebugFlag('AnnotateVerbose', "Dump all state machine annotation details") 845863Snate@binkert.orgDebugFlag('GDBAcc', "Remote debugger accesses") 855863Snate@binkert.orgDebugFlag('GDBExtra', "Dump extra information on reads and writes") 865863Snate@binkert.orgDebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 875863Snate@binkert.orgDebugFlag('GDBRead', "Reads to the remote address space") 885863Snate@binkert.orgDebugFlag('GDBRecv', "Messages received from the remote application") 895863Snate@binkert.orgDebugFlag('GDBSend', "Messages sent to the remote application") 905863Snate@binkert.orgDebugFlag('GDBWrite', "Writes to the remote address space") 915863Snate@binkert.orgDebugFlag('SQL', "SQL queries sent to the server") 925863Snate@binkert.orgDebugFlag('StatEvents', "Statistics event tracking") 935863Snate@binkert.org 945863Snate@binkert.orgCompoundFlag('GDBAll', 955863Snate@binkert.org [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 965863Snate@binkert.org 'GDBExtra' ], 975863Snate@binkert.org desc="All Remote debugging flags") 985863Snate@binkert.orgCompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 995863Snate@binkert.org desc="All Annotation flags") 1006654Snate@binkert.org 101955SN/A