From 5c044cf1f63a2b6c280a2f479f6264b89662d0d5 Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Sat, 24 Mar 2007 23:47:14 -0500 Subject: Update for new trace data behavior. --HG-- extra : convert_revision : c3df20c5187614febc4cc9f4d4c68bfecfba1ea7 --- src/cpu/o3/commit_impl.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cpu/o3/commit_impl.hh b/src/cpu/o3/commit_impl.hh index c17c8836d..3fd85595f 100644 --- a/src/cpu/o3/commit_impl.hh +++ b/src/cpu/o3/commit_impl.hh @@ -658,7 +658,7 @@ DefaultCommit::handleInterrupt() DPRINTF(Commit, "Interrupt detected.\n"); Fault new_interrupt = cpu->getInterrupts(); - assert(new_interrupt == interrupt); + assert(new_interrupt != NoFault); // Clear the interrupt now that it's going to be handled toIEW->commitInfo[0].clearInterrupt = true; @@ -1120,7 +1120,8 @@ DefaultCommit::commitHead(DynInstPtr &head_inst, unsigned inst_num) if (head_inst->traceData) { head_inst->traceData->setFetchSeq(head_inst->seqNum); head_inst->traceData->setCPSeq(thread[tid]->numInst); - head_inst->traceData->finalize(); + head_inst->traceData->dump(); + delete head_inst->traceData; head_inst->traceData = NULL; } -- cgit v1.2.3