mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
2012-06-06 Pedro Alves <palves@redhat.com>
* infrun.c (handle_inferior_event) <deferred_step_ptid>: Use context_switch and remove stale comment.
This commit is contained in:
parent
359f5fe60e
commit
d25f45d93a
@ -1,3 +1,8 @@
|
||||
2012-06-06 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* infrun.c (handle_inferior_event) <deferred_step_ptid>: Use
|
||||
context_switch and remove stale comment.
|
||||
|
||||
2012-06-06 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* infrun.c (struct execution_control_state): Remove
|
||||
|
@ -3813,9 +3813,7 @@ handle_inferior_event (struct execution_control_state *ecs)
|
||||
|
||||
ecs->event_thread->control.trap_expected = 0;
|
||||
|
||||
/* Note: We do not call context_switch at this point, as the
|
||||
context is already set up for stepping the original thread. */
|
||||
switch_to_thread (deferred_step_ptid);
|
||||
context_switch (deferred_step_ptid);
|
||||
deferred_step_ptid = null_ptid;
|
||||
/* Suppress spurious "Switching to ..." message. */
|
||||
previous_inferior_ptid = inferior_ptid;
|
||||
|
Loading…
Reference in New Issue
Block a user