Fix Lisa's CPU trace system check for syscall emulation.
cpu/exetrace.cc: CPU system name check doesn't work under syscall emulation, so don't compile it in. --HG-- extra : convert_revision : 2c128bf759877222107652fd86323be6dc71a34c
This commit is contained in:
parent
3532a661c5
commit
d727c2b6cf
1 changed files with 6 additions and 1 deletions
|
@ -52,7 +52,12 @@ void
|
||||||
Trace::InstRecord::dump(ostream &outs)
|
Trace::InstRecord::dump(ostream &outs)
|
||||||
{
|
{
|
||||||
if (flags[INTEL_FORMAT]) {
|
if (flags[INTEL_FORMAT]) {
|
||||||
if (cpu->system->name() == trace_system) {
|
#if FULL_SYSTEM
|
||||||
|
bool is_trace_system = (cpu->system->name() == trace_system);
|
||||||
|
#else
|
||||||
|
bool is_trace_system = true;
|
||||||
|
#endif
|
||||||
|
if (is_trace_system) {
|
||||||
ccprintf(outs, "%7d ) ", cycle);
|
ccprintf(outs, "%7d ) ", cycle);
|
||||||
outs << "0x" << hex << PC << ":\t";
|
outs << "0x" << hex << PC << ":\t";
|
||||||
if (staticInst->isLoad()) {
|
if (staticInst->isLoad()) {
|
||||||
|
|
Loading…
Reference in a new issue