aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-01-17 21:56:12 +0000
committerDaniel Jacobowitz <drow@false.org>2004-01-17 21:56:12 +0000
commite74f0f0215a82ede8ebc705f84dde6aa5196c277 (patch)
tree17a2d67e7bb894cbf326ddf7291208272c0fb592 /gdb/infrun.c
parenta20cf136551e8eb434434cad4fc6c56e970b9544 (diff)
downloadgdb-e74f0f0215a82ede8ebc705f84dde6aa5196c277.zip
gdb-e74f0f0215a82ede8ebc705f84dde6aa5196c277.tar.gz
gdb-e74f0f0215a82ede8ebc705f84dde6aa5196c277.tar.bz2
* breakpoint.c (must_shift_inst_regs): Delete.
(bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK and SHIFT_INST_REGS. * infcmd.c (step_1, step_1_continuation): Delete references to SHIFT_INST_REGS. * infrun.c (keep_going): Likewise. * target.h (DECR_PC_AFTER_HW_BREAK): Don't define. * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 71c2845..11db680 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2943,17 +2943,6 @@ keep_going (struct execution_control_state *ecs)
if (stop_signal == TARGET_SIGNAL_TRAP && !signal_program[stop_signal])
stop_signal = TARGET_SIGNAL_0;
-#ifdef SHIFT_INST_REGS
- /* I'm not sure when this following segment applies. I do know,
- now, that we shouldn't rewrite the regs when we were stopped
- by a random signal from the inferior process. */
- /* FIXME: Shouldn't this be based on the valid bit of the SXIP?
- (this is only used on the 88k). */
-
- if (!bpstat_explains_signal (stop_bpstat)
- && (stop_signal != TARGET_SIGNAL_CHLD) && !stopped_by_random_signal)
- SHIFT_INST_REGS ();
-#endif /* SHIFT_INST_REGS */
resume (currently_stepping (ecs), stop_signal);
}