diff options
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index ba0d71d..cb4465b 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -4149,9 +4149,8 @@ deal_with_atomic_sequence (struct gdbarch *gdbarch, CORE_ADDR pc) the target of the coming instruction and breakpoint it. */ VEC (CORE_ADDR) * -mips_software_single_step (struct frame_info *frame) +mips_software_single_step (struct regcache *regcache) { - struct regcache *regcache = get_current_regcache (); struct gdbarch *gdbarch = get_regcache_arch (regcache); CORE_ADDR pc, next_pc; VEC (CORE_ADDR) *next_pcs; |