SConscript revision 7780
1955SN/A# -*- mode:python -*- 2955SN/A 31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan 4955SN/A# All rights reserved. 5955SN/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. 282665Ssaidi@eecs.umich.edu# 294762Snate@binkert.org# Authors: Nathan Binkert 30955SN/A 315522Snate@binkert.orgImport('*') 326143Snate@binkert.org 334762Snate@binkert.orgif env['CP_ANNOTATE']: 345522Snate@binkert.org SimObject('CPA.py') 35955SN/A Source('cp_annotate.cc') 365522Snate@binkert.orgSource('atomicio.cc') 3711974Sgabeblack@google.comSource('bigint.cc') 38955SN/ASource('callback.cc') 395522Snate@binkert.orgSource('circlebuf.cc') 404202Sbinkertn@umich.eduSource('cprintf.cc') 415742Snate@binkert.orgSource('crc.cc') 42955SN/ASource('debug.cc') 434381Sbinkertn@umich.eduSource('fast_alloc.cc') 444381Sbinkertn@umich.eduif env['USE_FENV']: 458334Snate@binkert.org Source('fenv.c') 46955SN/ASource('fifo_buffer.cc') 47955SN/ASource('hostinfo.cc') 484202Sbinkertn@umich.eduSource('hybrid_pred.cc') 49955SN/ASource('inet.cc') 504382Sbinkertn@umich.eduSource('inifile.cc') 514382Sbinkertn@umich.eduSource('intmath.cc') 524382Sbinkertn@umich.eduSource('match.cc') 536654Snate@binkert.orgSource('misc.cc') 545517Snate@binkert.orgSource('output.cc') 558614Sgblack@eecs.umich.eduSource('pollevent.cc') 567674Snate@binkert.orgSource('random.cc') 576143Snate@binkert.orgSource('random_mt.cc') 586143Snate@binkert.orgSource('range.cc') 596143Snate@binkert.orgif env['TARGET_ISA'] != 'no': 608233Snate@binkert.org Source('remote_gdb.cc') 618233Snate@binkert.orgSource('sat_counter.cc') 628233Snate@binkert.orgSource('socket.cc') 638233Snate@binkert.orgSource('statistics.cc') 648233Snate@binkert.orgSource('str.cc') 658334Snate@binkert.orgSource('time.cc') 668334Snate@binkert.orgSource('trace.cc') 6710453SAndrew.Bardsley@arm.comSource('userinfo.cc') 6810453SAndrew.Bardsley@arm.com 698233Snate@binkert.orgSource('compression/lzss_compression.cc') 708233Snate@binkert.org 718233Snate@binkert.orgSource('loader/aout_object.cc') 728233Snate@binkert.orgSource('loader/ecoff_object.cc') 738233Snate@binkert.orgSource('loader/elf_object.cc') 748233Snate@binkert.orgSource('loader/hex_file.cc') 7511983Sgabeblack@google.comSource('loader/object_file.cc') 7611983Sgabeblack@google.comSource('loader/raw_object.cc') 7711983Sgabeblack@google.comSource('loader/symtab.cc') 7811983Sgabeblack@google.com 7911983Sgabeblack@google.comSource('stats/output.cc') 8011983Sgabeblack@google.comSource('stats/text.cc') 8111983Sgabeblack@google.comSource('stats/visit.cc') 8211983Sgabeblack@google.com 8311983Sgabeblack@google.comif env['USE_MYSQL']: 8411983Sgabeblack@google.com Source('mysql.cc') 8511983Sgabeblack@google.com Source('stats/mysql.cc') 866143Snate@binkert.org 878233Snate@binkert.orgTraceFlag('Annotate', "State machine annotation debugging") 888233Snate@binkert.orgTraceFlag('AnnotateQ', "State machine annotation queue debugging") 898233Snate@binkert.orgTraceFlag('AnnotateVerbose', "Dump all state machine annotation details") 906143Snate@binkert.orgTraceFlag('GDBAcc', "Remote debugger accesses") 916143Snate@binkert.orgTraceFlag('GDBExtra', "Dump extra information on reads and writes") 926143Snate@binkert.orgTraceFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.") 9311308Santhony.gutierrez@amd.comTraceFlag('GDBRead', "Reads to the remote address space") 948233Snate@binkert.orgTraceFlag('GDBRecv', "Messages received from the remote application") 958233Snate@binkert.orgTraceFlag('GDBSend', "Messages sent to the remote application") 968233Snate@binkert.orgTraceFlag('GDBWrite', "Writes to the remote address space") 9711983Sgabeblack@google.comTraceFlag('SQL', "SQL queries sent to the server") 9811983Sgabeblack@google.comTraceFlag('StatEvents', "Statistics event tracking") 994762Snate@binkert.org 1006143Snate@binkert.orgCompoundFlag('GDBAll', 1018233Snate@binkert.org [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv', 1028233Snate@binkert.org 'GDBExtra' ], 1038233Snate@binkert.org desc="All Remote debugging flags") 1048233Snate@binkert.orgCompoundFlag('AnnotateAll', ['Annotate', 'AnnotateQ', 'AnnotateVerbose'], 1058233Snate@binkert.org desc="All Annotation flags") 1066143Snate@binkert.org 1078233Snate@binkert.org