diff options
Diffstat (limited to 'gdb/record-full.c')
-rw-r--r-- | gdb/record-full.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/record-full.c b/gdb/record-full.c index 23bab31..4d8988d 100644 --- a/gdb/record-full.c +++ b/gdb/record-full.c @@ -2011,7 +2011,8 @@ record_full_goto_entry (struct record_full_entry *p) registers_changed (); reinit_frame_cache (); - stop_pc = regcache_read_pc (get_current_regcache ()); + inferior_thread ()->suspend.stop_pc + = regcache_read_pc (get_current_regcache ()); print_stack_frame (get_selected_frame (NULL), 1, SRC_AND_LOC, 1); } |