* win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE

when handling a EXIT_PROCESS_DEBUG_EVENT.
This commit is contained in:
Pedro Alves 2009-01-14 13:42:27 +00:00
parent 258936723f
commit 18aae69934
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-01-14 Pedro Alves <pedro@codesourcery.com>
* win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE
when handling a EXIT_PROCESS_DEBUG_EVENT.
2009-01-06 Joel Brobecker <brobecker@adacore.com>
* gdbreplay.c (gdbreplay_version): Update copyright year.

View File

@ -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;