diff options
author | Pedro Alves <palves@redhat.com> | 2011-05-20 16:43:47 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-05-20 16:43:47 +0000 |
commit | f148b27e2ce9182ad3ec524cb47fabd8f23d13da (patch) | |
tree | f889078dc2851c6126e2c4c34d920f84719229dc /gdb/infrun.c | |
parent | 09cee04be9e51b992fd835e7fa671d3b65448a6b (diff) | |
download | gdb-f148b27e2ce9182ad3ec524cb47fabd8f23d13da.zip gdb-f148b27e2ce9182ad3ec524cb47fabd8f23d13da.tar.gz gdb-f148b27e2ce9182ad3ec524cb47fabd8f23d13da.tar.bz2 |
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.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 7b9245c..dac8b0d 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -2066,6 +2066,8 @@ proceed (CORE_ADDR addr, enum target_signal siggnal, int step) { /* The target for some reason decided not to resume. */ normal_stop (); + if (target_can_async_p ()) + inferior_event_handler (INF_EXEC_COMPLETE, NULL); return; } |