Message ID | 20180524070257.15935-1-alistair@popple.id.au |
---|---|
State | Accepted |
Headers | show |
Series | libpdbg: Don't dump XER with ram_getspr | expand |
diff --git a/libpdbg/chip.c b/libpdbg/chip.c index 0e890a6..912de0a 100644 --- a/libpdbg/chip.c +++ b/libpdbg/chip.c @@ -364,9 +364,12 @@ int ram_state_thread(struct pdbg_target *thread, struct thread_regs *regs) } printf("CR : 0x%08" PRIx32 "\n", regs->cr); +#if 0 + /* TODO: Disabling because reading SPR 0x1 reliably checkstops a P8 */ ram_getspr(thread, 0x1, &value); regs->xer = value; printf("XER : 0x%08" PRIx32 "\n", regs->xer); +#endif printf("GPRS :\n"); for (i = 0; i < 32; i++) {
Dumping XER checkstops P8 hosts. There is a special ramming op-code for XER which needs to be used instead. Signed-off-by: Alistair Popple <alistair@popple.id.au> --- libpdbg/chip.c | 3 +++ 1 file changed, 3 insertions(+)