summaryrefslogtreecommitdiffstats
path: root/gdb/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index c3d52c33b4..db0bbbf2a7 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -207,8 +207,6 @@ thread_switch (pid)
flush_cached_frames ();
registers_changed ();
stop_pc = read_pc();
- set_current_frame (create_new_frame (read_fp (), stop_pc));
- stop_frame_address = FRAME_FP (get_current_frame ());
select_frame (get_current_frame (), 0);
}
OpenPOWER on IntegriCloud