diff options
author | Pedro Alves <pedro@codesourcery.com> | 2009-01-14 13:42:27 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2009-01-14 13:42:27 +0000 |
commit | 5f97626715295ce62acf56599a69501bff204f89 (patch) | |
tree | 3e6db997a981a0e9a65edbeeaf668636455d3531 /gdb/gdbserver/win32-low.c | |
parent | 429a3006f056541ca2679131643b64629d9a8ca1 (diff) | |
download | gdb-5f97626715295ce62acf56599a69501bff204f89.tar.gz |
* 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 182a1f1a66b..5d53e0c2f1c 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; |