From 18aae699341ae6abc0a1e66be83667ec44b664d9 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 14 Jan 2009 13:42:27 +0000 Subject: [PATCH] * win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE when handling a EXIT_PROCESS_DEBUG_EVENT. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/win32-low.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index b745986ccfe..53030d94f38 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2009-01-14 Pedro Alves + + * win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE + when handling a EXIT_PROCESS_DEBUG_EVENT. + 2009-01-06 Joel Brobecker * gdbreplay.c (gdbreplay_version): Update copyright year. 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; -- 2.30.2