Change the cpu pointer in the InstRecord object to a thread context pointer.
--HG-- extra : convert_revision : 7efb2680cef4219281b94d680a4a7c75c123f89d
This commit is contained in:
@@ -398,7 +398,7 @@ BaseSimpleCPU::preExecute()
|
||||
inst = gtoh(inst);
|
||||
curStaticInst = StaticInst::decode(makeExtMI(inst, thread->readPC()));
|
||||
|
||||
traceData = Trace::getInstRecord(curTick, tc, this, curStaticInst,
|
||||
traceData = Trace::getInstRecord(curTick, tc, curStaticInst,
|
||||
thread->readPC());
|
||||
|
||||
DPRINTF(Decode,"Decode: Decoded %s instruction (opcode: 0x%x): 0x%x\n",
|
||||
|
||||
Reference in New Issue
Block a user