diff options
Diffstat (limited to 'gdb/linux-fork.c')
-rw-r--r-- | gdb/linux-fork.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c index b162466..1559ad9 100644 --- a/gdb/linux-fork.c +++ b/gdb/linux-fork.c @@ -224,8 +224,7 @@ fork_load_infrun_state (struct fork_info *fp) registers_changed (); reinit_frame_cache (); - inferior_thread ()->suspend.stop_pc - = regcache_read_pc (get_current_regcache ()); + inferior_thread ()->set_stop_pc (regcache_read_pc (get_current_regcache ())); nullify_last_target_wait_ptid (); /* Now restore the file positions of open file descriptors. */ |