diff -r 15226efc5c64 -r 7ed93544cf18 src/cpu/simple/atomic.cc --- a/src/cpu/simple/atomic.cc Mon Aug 23 11:33:52 2010 -0500 +++ b/src/cpu/simple/atomic.cc Mon Aug 23 11:34:09 2010 -0500 @@ -689,6 +689,8 @@ countInst(); else if (traceData) { // If there was a fault, we should trace this instruction. + if (DTRACE(ExecFaulting)) + traceData->dump(); delete traceData; traceData = NULL; } diff -r 15226efc5c64 -r 7ed93544cf18 src/cpu/simple/timing.cc --- a/src/cpu/simple/timing.cc Mon Aug 23 11:33:52 2010 -0500 +++ b/src/cpu/simple/timing.cc Mon Aug 23 11:34:09 2010 -0500 @@ -819,6 +819,8 @@ countInst(); else if (traceData) { // If there was a fault, we shouldn't trace this instruction. + if (DTRACE(ExecFaulting)) + traceData->dump(); delete traceData; traceData = NULL; }