diff options
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/exetrace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 << " : "; |