* breakpoint.c (bpstat_stop_status),
[deliverable/binutils-gdb.git] / gdb / breakpoint.c
index ad0462a36e95ae2e7c5d749c35c50e1058fb272a..6facde06666f5e45cdb95b87d92edb1405301a46 100644 (file)
@@ -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.  */
This page took 0.022534 seconds and 4 git commands to generate.