diff options
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index ad0462a..6facde0 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -1152,15 +1152,7 @@ bpstat_stop_status (pc, frame_address) { *pc = bp_addr; #if defined (SHIFT_INST_REGS) - { - CORE_ADDR pc = read_register (PC_REGNUM); - CORE_ADDR npc = read_register (NPC_REGNUM); - if (pc != npc) - { - write_register (NNPC_REGNUM, npc); - write_register (NPC_REGNUM, pc); - } - } + SHIFT_INST_REGS(); #else /* No SHIFT_INST_REGS. */ write_pc (bp_addr); #endif /* No SHIFT_INST_REGS. */ |