aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index a7a8617..3281988 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -461,10 +461,9 @@ switch_to_thread (ptid_t ptid)
return;
inferior_ptid = ptid;
- flush_cached_frames ();
+ reinit_frame_cache ();
registers_changed ();
stop_pc = read_pc ();
- select_frame (get_current_frame ());
}
static void