aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-09-08 22:04:54 +0000
committerPedro Alves <palves@redhat.com>2008-09-08 22:04:54 +0000
commitfedae5ffbcc3c8ddd072ad61334f710f940a4a4a (patch)
treed9031075330ea29a923d8a03e3a899a761cbf854 /gdb/infrun.c
parent5609a71e6847895517a34efc352abb19e2ee7126 (diff)
downloadgdb-fedae5ffbcc3c8ddd072ad61334f710f940a4a4a.zip
gdb-fedae5ffbcc3c8ddd072ad61334f710f940a4a4a.tar.gz
gdb-fedae5ffbcc3c8ddd072ad61334f710f940a4a4a.tar.bz2
* infrun.c (context_switch): Don't context-switch the continuations.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index fbbc17a..09afaa8 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -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);