gem5: restore works now
The function restore(PATH) can now be used to restore a checkpoint. Change-Id: I25faf9f6335261d2b3ade4185eae93983ece9f97
This commit is contained in:
@ -401,13 +401,6 @@ BaseSimpleCPU::preExecute()
|
||||
//fetch beyond the MachInst at the current pc.
|
||||
instPtr = decoder->decode(pcState);
|
||||
|
||||
// FAIL*
|
||||
#if defined(CONFIG_EVENT_BREAKPOINTS) || defined(CONFIG_EVENT_BREAKPOINTS_RANGE)
|
||||
fail::ConcreteCPU* cpu = &fail::simulator.getCPU(cpuId());
|
||||
fail::simulator.setMnemonic(instPtr->getName());
|
||||
fail::simulator.onBreakpoint(cpu, instAddr(), -1);
|
||||
#endif
|
||||
|
||||
if (instPtr) {
|
||||
stayAtPC = false;
|
||||
thread->pcState(pcState);
|
||||
|
||||
Reference in New Issue
Block a user