diff options
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index fbbc17a1616..09afaa88c06 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); |