* ldmain.c (main): Error if --gc-sections and
[deliverable/binutils-gdb.git] / gdb / thread.c
index 4c158ffb5a63c008d92da50a9df69ebd91d4c4c1..8c61a564cd8643f22edf4491c3d85d51bcf2c1d2 100644 (file)
@@ -518,7 +518,8 @@ see the IDs of currently known threads.", num);
     error ("Thread ID %d has terminated.\n", num);
 
   switch_to_thread (tp->pid);
-
+  if (context_hook)
+    context_hook (num);
   printf_filtered ("[Switching to %s]\n", target_pid_to_str (inferior_pid));
   print_stack_frame (selected_frame, selected_frame_level, 1);
 }
This page took 0.026406 seconds and 4 git commands to generate.