summaryrefslogtreecommitdiff
path: root/overlay/mgdb/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/mgdb/gdb')
-rw-r--r--overlay/mgdb/gdb/winnt-nat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c
index 21b1e35..5e8eea6 100644
--- a/overlay/mgdb/gdb/winnt-nat.c
+++ b/overlay/mgdb/gdb/winnt-nat.c
@@ -859,6 +859,10 @@ static ptid_t winnt_wait(
switch (event->evttype) {
case __DBG_STATE_EXCEPTION:
+ waitstatus->kind = TARGET_WAITKIND_STOPPED;
+ waitstatus->value.sig = GDB_SIGNAL_UNKNOWN;
+ break;
+
case __DBG_STATE_BREAKPOINT:
case __DBG_STATE_SINGLE_STEP:
waitstatus->kind = TARGET_WAITKIND_STOPPED;