From 59cb44385a6a222af83cfaede6d84703ef621f3a Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Tue, 1 Jun 2004 15:43:27 -0400 Subject: Added ability to specify system type/revision in config file. This way a Tru64 system can be either Tlaser (by default) or Tsunami. Added debugSymbolTable to Tru64 for symbol printing in InstExec Trace cpu/exetrace.cc: Fixed bug if debugSymbolTable doesn't exist, we shouldn't try to look something up in it. kern/tru64/tru64_system.hh: Added ability to specify system type/revision in config file. This way a Tru64 system can be either Tlaser (by default) or Tsunami. --HG-- extra : convert_revision : c69a7411f0aa118ca5a766e43b7ceb7a5bb04cdf --- cpu/exetrace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpu/exetrace.cc') diff --git a/cpu/exetrace.cc b/cpu/exetrace.cc index 0dd1d74d6..a4aaa19db 100644 --- a/cpu/exetrace.cc +++ b/cpu/exetrace.cc @@ -67,7 +67,7 @@ Trace::InstRecord::dump(ostream &outs) std::string str; - if (debugSymbolTable->findNearestSymbol(PC, str)) + if ((debugSymbolTable) && (debugSymbolTable->findNearestSymbol(PC, str))) outs << "@" << setw(17) << str << " : "; else outs << "0x" << hex << PC << " : "; -- cgit v1.2.3