From 06648491d7c95ff1100c347d526f6ae76a14c9e5 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 17 Mar 2005 18:07:46 +0000 Subject: * mips-tdep.c (mips_single_step_through_delay): Put back check for breakpoint lost with the introduction of this function. --- gdb/mips-tdep.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/mips-tdep.c') diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 64e3cc1..8038837 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -4148,6 +4148,9 @@ mips_single_step_through_delay (struct gdbarch *gdbarch, if (mips_pc_is_mips16 (pc)) return 0; + if (!breakpoint_here_p (pc + 4)) + return 0; + if (!safe_frame_unwind_memory (frame, pc, buf, sizeof buf)) /* If error reading memory, guess that it is not a delayed branch. */ -- cgit v1.1