SConscript revision 10785
16019Shines@cs.fsu.edu# -*- mode:python -*- 26019Shines@cs.fsu.edu 37100Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 47100Sgblack@eecs.umich.edu# All rights reserved. 57100Sgblack@eecs.umich.edu# 67100Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 77100Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 87100Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 97100Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 107100Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 117100Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 127100Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 137100Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 147100Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 156019Shines@cs.fsu.edu# this software without specific prior written permission. 166019Shines@cs.fsu.edu# 176019Shines@cs.fsu.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 186019Shines@cs.fsu.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 196019Shines@cs.fsu.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 206019Shines@cs.fsu.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 216019Shines@cs.fsu.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 226019Shines@cs.fsu.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 236019Shines@cs.fsu.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 246019Shines@cs.fsu.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 256019Shines@cs.fsu.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 266019Shines@cs.fsu.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 276019Shines@cs.fsu.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 286019Shines@cs.fsu.edu# 296019Shines@cs.fsu.edu# Authors: Nathan Binkert 306019Shines@cs.fsu.edu 316019Shines@cs.fsu.eduImport('*') 326019Shines@cs.fsu.edu 336019Shines@cs.fsu.eduif env['CP_ANNOTATE']: 346019Shines@cs.fsu.edu SimObject('CPA.py') 356019Shines@cs.fsu.edu Source('cp_annotate.cc') 366019Shines@cs.fsu.eduSource('atomicio.cc') 376019Shines@cs.fsu.eduSource('bigint.cc') 386019Shines@cs.fsu.eduSource('bitmap.cc') 396019Shines@cs.fsu.eduSource('callback.cc') 406019Shines@cs.fsu.eduSource('circlebuf.cc') 416019Shines@cs.fsu.eduSource('cprintf.cc') 426757SAli.Saidi@ARM.comSource('debug.cc') 436019Shines@cs.fsu.eduif env['USE_FENV']: 446019Shines@cs.fsu.edu Source('fenv.c') 456019Shines@cs.fsu.eduSource('hostinfo.cc') 466019Shines@cs.fsu.eduSource('inet.cc') 476019Shines@cs.fsu.eduSource('inifile.cc') 486019Shines@cs.fsu.eduSource('intmath.cc') 496019Shines@cs.fsu.eduSource('match.cc') 506019Shines@cs.fsu.eduSource('misc.cc') 517170Sgblack@eecs.umich.eduSource('output.cc') 526253Sgblack@eecs.umich.eduSource('pollevent.cc') 537202Sgblack@eecs.umich.eduSource('random.cc') 546253Sgblack@eecs.umich.eduif env['TARGET_ISA'] != 'null': 556253Sgblack@eecs.umich.edu Source('remote_gdb.cc') 567396Sgblack@eecs.umich.eduSource('socket.cc') 578745Sgblack@eecs.umich.eduSource('statistics.cc') 587405SAli.Saidi@ARM.comSource('str.cc') 598782Sgblack@eecs.umich.eduSource('time.cc') 608782Sgblack@eecs.umich.eduSource('trace.cc') 618782Sgblack@eecs.umich.eduSource('types.cc') 627259Sgblack@eecs.umich.edu 638757Sgblack@eecs.umich.eduSource('loader/aout_object.cc') 647423Sgblack@eecs.umich.eduSource('loader/dtb_object.cc') 658782Sgblack@eecs.umich.eduSource('loader/ecoff_object.cc') 668757Sgblack@eecs.umich.eduSource('loader/elf_object.cc') 678777Sgblack@eecs.umich.eduSource('loader/hex_file.cc') 688782Sgblack@eecs.umich.eduSource('loader/object_file.cc') 698756Sgblack@eecs.umich.eduSource('loader/raw_object.cc') 706019Shines@cs.fsu.eduSource('loader/symtab.cc') 716757SAli.Saidi@ARM.com 728757Sgblack@eecs.umich.eduSource('stats/text.cc') 736019Shines@cs.fsu.edu 748745Sgblack@eecs.umich.eduDebugFlag('Annotate', "State machine annotation debugging") 756397Sgblack@eecs.umich.eduDebugFlag('AnnotateQ', "State machine annotation queue debugging") 768782Sgblack@eecs.umich.eduDebugFlag('AnnotateVerbose', "Dump all state machine annotation details") 776019Shines@cs.fsu.eduDebugFlag('GDBAcc', "Remote debugger accesses") 786397Sgblack@eecs.umich.eduDebugFlag('GDBExtra', "Dump extra information on reads and writes") 798335Snate@binkert.orgDebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 808335Snate@binkert.orgDebugFlag('GDBRead', "Reads to the remote address space") 818335Snate@binkert.orgDebugFlag('GDBRecv', "Messages received from the remote application") 828335Snate@binkert.orgDebugFlag('GDBSend', "Messages sent to the remote application") 836019Shines@cs.fsu.eduDebugFlag('GDBWrite', "Writes to the remote address space") 846019Shines@cs.fsu.eduDebugFlag('SQL', "SQL queries sent to the server") 856019Shines@cs.fsu.eduDebugFlag('StatEvents', "Statistics event tracking") 866019Shines@cs.fsu.edu 876019Shines@cs.fsu.eduCompoundFlag('GDBAll', 886019Shines@cs.fsu.edu [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 896019Shines@cs.fsu.edu 'GDBExtra' ], 906019Shines@cs.fsu.edu desc="All Remote debugging flags") 91CompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 92 desc="All Annotation flags") 93 94