mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
2011-05-20 Pedro Alves <pedro@codesourcery.com>
* infrun.c (proceed): Switch the inferior event loop to INF_EXEC_COMPLETE if the target refused to resume from a vfork/fork.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2011-05-20 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* infrun.c (proceed): Switch the inferior event loop to
|
||||||
|
INF_EXEC_COMPLETE if the target refused to resume from a
|
||||||
|
vfork/fork.
|
||||||
|
|
||||||
2011-05-20 Pedro Alves <pedro@codesourcery.com>
|
2011-05-20 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* infcmd.c: Include "inf-loop.h".
|
* infcmd.c: Include "inf-loop.h".
|
||||||
|
@ -2066,6 +2066,8 @@ proceed (CORE_ADDR addr, enum target_signal siggnal, int step)
|
|||||||
{
|
{
|
||||||
/* The target for some reason decided not to resume. */
|
/* The target for some reason decided not to resume. */
|
||||||
normal_stop ();
|
normal_stop ();
|
||||||
|
if (target_can_async_p ())
|
||||||
|
inferior_event_handler (INF_EXEC_COMPLETE, NULL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user