sim: microblaze: enable some basic trace points

This isn't super complete, but it's useful enough as-is.
This commit is contained in:
Mike Frysinger
2021-04-26 23:17:15 -04:00
parent cd09ab7c74
commit 4d47dcfcf1
3 changed files with 9 additions and 0 deletions

View File

@@ -168,6 +168,7 @@ sim_engine_run (SIM_DESC sd,
{
insts += 1;
bonus_cycles++;
TRACE_INSN (cpu, "HALT (%i)", RETREG);
sim_engine_halt (sd, NULL, NULL, NULL_CIA, sim_exited, RETREG);
}
else
@@ -176,6 +177,7 @@ sim_engine_run (SIM_DESC sd,
{
#define INSTRUCTION(NAME, OPCODE, TYPE, ACTION) \
case NAME: \
TRACE_INSN (cpu, #NAME); \
ACTION; \
break;
#include "microblaze.isa"