mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00:00
* 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:
parent
16aff9a677
commit
06648491d7
@ -1,3 +1,8 @@
|
||||
2005-03-17 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* mips-tdep.c (mips_single_step_through_delay): Put back check for
|
||||
breakpoint lost with the introduction of this function.
|
||||
|
||||
2005-03-17 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user