plat/linuxppc/emu: get dump_state( ) to also dump FP registers
This commit is contained in:
parent
7dd8ea2ea5
commit
56ebd1409b
|
@ -325,6 +325,12 @@ void dump_state(FILE* stream)
|
||||||
fprintf(stream, "\n");
|
fprintf(stream, "\n");
|
||||||
fprintf(stream, "gpr%02d=0x%08x ", i, cpu.gpr[i]);
|
fprintf(stream, "gpr%02d=0x%08x ", i, cpu.gpr[i]);
|
||||||
}
|
}
|
||||||
|
for (i=0; i<32; i++)
|
||||||
|
{
|
||||||
|
if ((i % 3) == 0)
|
||||||
|
fprintf(stream, "\n");
|
||||||
|
fprintf(stream, "fpr%02d=0x%016lx ", i, cpu.fpr[i]);
|
||||||
|
}
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
|
|
||||||
/* This might fail and cause a reentrant trap if cia is invalid, so
|
/* This might fail and cause a reentrant trap if cia is invalid, so
|
||||||
|
|
Loading…
Reference in a new issue