summaryrefslogtreecommitdiff
path: root/gdb/linux-fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linux-fork.c')
-rw-r--r--gdb/linux-fork.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c
index 6771784c34b..0da442a993a 100644
--- a/gdb/linux-fork.c
+++ b/gdb/linux-fork.c
@@ -250,10 +250,6 @@ fork_load_infrun_state (struct fork_info *fp)
registers_changed ();
reinit_frame_cache ();
- /* We must select a new frame before making any inferior calls to
- avoid warnings. */
- select_frame (get_current_frame ());
-
stop_pc = read_pc ();
nullify_last_target_wait_ptid ();