* win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE
when handling a EXIT_PROCESS_DEBUG_EVENT.
This commit is contained in:
parent
258936723f
commit
18aae69934
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue