From: Kevin Lim Date: Sun, 25 Mar 2007 04:47:14 +0000 (-0500) Subject: Update for new trace data behavior. X-Git-Tag: m5_2.0_beta3~72 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c044cf1f63a2b6c280a2f479f6264b89662d0d5;p=gem5.git Update for new trace data behavior. --HG-- extra : convert_revision : c3df20c5187614febc4cc9f4d4c68bfecfba1ea7 --- 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; }