summaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorqiyao <qiyao>2012-07-27 00:52:33 +0000
committerqiyao <qiyao>2012-07-27 00:52:33 +0000
commiteadd55a004aa5231728026919f6f604fb5a1bf2f (patch)
tree5b5dd11cdc9cf76b70769f307fe207e4ba70439f /gdb/thread.c
parentc3d883b093b802a6d4f2a44587adc070ecf5cc6e (diff)
downloadgdb-eadd55a004aa5231728026919f6f604fb5a1bf2f.tar.gz
gdb/
* thread.c (switch_to_thread): Don't call registers_changed.
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c1
1 files changed, 0 insertions, 1 deletions
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