libiberty/md5: fix strict alias warnings
[deliverable/binutils-gdb.git] / gdb / thread.c
index d361dd81081ec1bccb33298a8fddf2b537fdd48a..7e8eec59b6043f405ec9b6dbc851a8307a5beb89 100644 (file)
@@ -54,7 +54,7 @@ void _initialize_thread (void);
 
 /* Prototypes for local functions.  */
 
-static struct thread_info *thread_list = NULL;
+struct thread_info *thread_list = NULL;
 static int highest_thread_num;
 
 static void thread_command (char *tidstr, int from_tty);
@@ -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
This page took 0.024037 seconds and 4 git commands to generate.