From d99067cba733e95786e7f3c1af752dfd5018a348 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Fri, 27 Jul 2012 00:52:36 +0000 Subject: [PATCH] gdb/ * thread.c (switch_to_thread): Don't call registers_changed. --- gdb/ChangeLog | 4 ++++ gdb/thread.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dbad5dbaa4e..79e11f519a3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-07-27 Yao Qi + + * thread.c (switch_to_thread): Don't call registers_changed. + 2012-07-26 Tom Tromey * Makefile.in (SFILES): Remove objc-exp.y. diff --git a/gdb/thread.c b/gdb/thread.c index ff5220df73b..7e8eec59b60 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -987,7 +987,6 @@ switch_to_thread (ptid_t ptid) inferior_ptid = ptid; reinit_frame_cache (); - registers_changed (); /* We don't check for is_stopped, because we're called at times while in the TARGET_RUNNING state, e.g., while handling an -- 2.30.2