summaryrefslogtreecommitdiffstats
path: root/libpdbg/chip.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpdbg/chip.c')
-rw-r--r--libpdbg/chip.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libpdbg/chip.c b/libpdbg/chip.c
index 79bc87d..ebfaaa8 100644
--- a/libpdbg/chip.c
+++ b/libpdbg/chip.c
@@ -168,7 +168,11 @@ static int ram_instructions(struct pdbg_target *thread_target, uint64_t *opcodes
opcode = mfspr(1, 277);
}
- CHECK_ERR(thread->ram_instruction(thread, opcode, &scratch));
+ if (thread->ram_instruction(thread, opcode, &scratch)) {
+ PR_DEBUG("%s: %d\n", __FUNCTION__, __LINE__);
+ exception = 1;
+ break;
+ }
if (i == -2)
r1 = scratch;
OpenPOWER on IntegriCloud