forked from Imagelibrary/binutils-gdb
* mips-tdep.c (mips_single_step_through_delay): Put back check for
breakpoint lost with the introduction of this function.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user