mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
2011-10-24 Pedro Alves <pedro@codesourcery.com>
gdb/ * infrun.c (handle_inferior_event): Don't assume inferior_ptid is already set when marking the event thread as not executing in non-stop mode.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2011-10-24 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* infrun.c (handle_inferior_event): Don't assume inferior_ptid is
|
||||||
|
already set when marking the event thread as not executing in
|
||||||
|
non-stop mode.
|
||||||
|
|
||||||
2011-10-24 Pedro Alves <pedro@codesourcery.com>
|
2011-10-24 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* infrun.c (handle_inferior_event): Add debug output for
|
* infrun.c (handle_inferior_event): Add debug output for
|
||||||
|
@ -3239,7 +3239,7 @@ handle_inferior_event (struct execution_control_state *ecs)
|
|||||||
set_executing (minus_one_ptid, 0);
|
set_executing (minus_one_ptid, 0);
|
||||||
else if (ecs->ws.kind != TARGET_WAITKIND_SIGNALLED
|
else if (ecs->ws.kind != TARGET_WAITKIND_SIGNALLED
|
||||||
&& ecs->ws.kind != TARGET_WAITKIND_EXITED)
|
&& ecs->ws.kind != TARGET_WAITKIND_EXITED)
|
||||||
set_executing (inferior_ptid, 0);
|
set_executing (ecs->ptid, 0);
|
||||||
|
|
||||||
switch (infwait_state)
|
switch (infwait_state)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user