mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
gdb/
2012-11-20 Yao Qi <yao@codesourcery.com> * infrun.c (handle_inferior_event): Pass 'saved_singlestep_ptid' to deprecated_context_hook.
This commit is contained in:
@@ -3783,7 +3783,7 @@ handle_inferior_event (struct execution_control_state *ecs)
|
||||
|
||||
context_switch (saved_singlestep_ptid);
|
||||
if (deprecated_context_hook)
|
||||
deprecated_context_hook (pid_to_thread_id (ecs->ptid));
|
||||
deprecated_context_hook (pid_to_thread_id (saved_singlestep_ptid));
|
||||
|
||||
resume (1, GDB_SIGNAL_0);
|
||||
prepare_to_wait (ecs);
|
||||
|
||||
Reference in New Issue
Block a user