aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-07-27 00:52:36 +0000
committerYao Qi <yao@codesourcery.com>2012-07-27 00:52:36 +0000
commitd99067cba733e95786e7f3c1af752dfd5018a348 (patch)
tree6f5aaf9380ce9c49ca5db28ad2de8daee05883a0
parent9974286ed155bfa85972d7e9097f685b486ead4e (diff)
downloadgdb-d99067cba733e95786e7f3c1af752dfd5018a348.zip
gdb-d99067cba733e95786e7f3c1af752dfd5018a348.tar.gz
gdb-d99067cba733e95786e7f3c1af752dfd5018a348.tar.bz2
gdb/
* thread.c (switch_to_thread): Don't call registers_changed.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/thread.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dbad5db..79e11f5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-27 Yao Qi <yao@codesourcery.com>
+
+ * thread.c (switch_to_thread): Don't call registers_changed.
+
2012-07-26 Tom Tromey <tromey@redhat.com>
* Makefile.in (SFILES): Remove objc-exp.y.
diff --git a/gdb/thread.c b/gdb/thread.c
index ff5220d..7e8eec5 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