diff options
author | Pedro Alves <palves@redhat.com> | 2009-01-14 13:42:27 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-01-14 13:42:27 +0000 |
commit | 18aae699341ae6abc0a1e66be83667ec44b664d9 (patch) | |
tree | 334ca343b7288f5f49f68bcb4feb77f2465ee921 /gdb/gdbserver/win32-low.c | |
parent | 258936723f999dab66157ac94c98feb86df335d0 (diff) | |
download | gdb-18aae699341ae6abc0a1e66be83667ec44b664d9.zip gdb-18aae699341ae6abc0a1e66be83667ec44b664d9.tar.gz gdb-18aae699341ae6abc0a1e66be83667ec44b664d9.tar.bz2 |
* win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE
when handling a EXIT_PROCESS_DEBUG_EVENT.
Diffstat (limited to 'gdb/gdbserver/win32-low.c')
-rw-r--r-- | gdb/gdbserver/win32-low.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c index 182a1f1..5d53e0c 100644 --- a/gdb/gdbserver/win32-low.c +++ b/gdb/gdbserver/win32-low.c @@ -1453,6 +1453,7 @@ get_child_debug_event (struct target_waitstatus *ourstatus) (unsigned) current_event.dwThreadId)); ourstatus->kind = TARGET_WAITKIND_EXITED; ourstatus->value.integer = current_event.u.ExitProcess.dwExitCode; + child_continue (DBG_CONTINUE, -1); CloseHandle (current_process_handle); current_process_handle = NULL; break; |