gdb/
authorYao Qi <yao@codesourcery.com>
Fri, 27 Jul 2012 00:52:36 +0000 (00:52 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 27 Jul 2012 00:52:36 +0000 (00:52 +0000)
* thread.c (switch_to_thread): Don't call registers_changed.

gdb/ChangeLog
gdb/thread.c

index dbad5dbaa4e5d198bd7d56ca67cd40b3a9035ffb..79e11f519a3e0231f15d027e0485c8bd39d148f2 100644 (file)
@@ -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.
index ff5220df73b89e07b97d32f17fe61edf292ec978..7e8eec59b6043f405ec9b6dbc851a8307a5beb89 100644 (file)
@@ -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