* infrun.c (context_switch): Don't context-switch the continuations.
authorPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 22:04:54 +0000 (22:04 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 22:04:54 +0000 (22:04 +0000)
gdb/ChangeLog
gdb/infrun.c

index 208157fc6fc2fe85f13b48b9201f46612a27c637..1116b12cb1b352fce89dafbc29175c0299b9067a 100644 (file)
@@ -7,9 +7,7 @@
        continuations and intermediate_continuations.
        (save_infrun_state, load_infrun_state): Delete continuations and
        intermediate_continuations arguments.
-       * infrun.c (fetch_inferior_event): Only call normal_stop if
-       stop_soon is NO_STOP_QUIETLY.
-       (context_switch): Don't context-switch the continuations.
+       * infrun.c (context_switch): Don't context-switch the continuations.
        * thread.c (clear_thread_inferior_resources): Discard all
        continuations of the thread we're clearing.
        (save_infrun_state, load_infrun_state): Delete continuations and
index fbbc17a161649c5ca478185d7d17173a4df19506..09afaa88c06b1d8c433f55ddf3d6297dd534f835 100644 (file)
@@ -1742,12 +1742,10 @@ context_switch (ptid_t ptid)
   if (in_thread_list (inferior_ptid) && in_thread_list (ptid))
     {                          /* Perform infrun state context switch: */
       /* Save infrun state for the old thread.  */
-      save_infrun_state (inferior_ptid,
-                        cmd_continuation, intermediate_continuation);
+      save_infrun_state (inferior_ptid);
 
       /* Load infrun state for the new thread.  */
-      load_infrun_state (ptid,
-                        &cmd_continuation, &intermediate_continuation);
+      load_infrun_state (ptid);
     }
 
   switch_to_thread (ptid);