summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overlay/mgdb/gdb/winnt-nat.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c
index de2cf69..5eae814 100644
--- a/overlay/mgdb/gdb/winnt-nat.c
+++ b/overlay/mgdb/gdb/winnt-nat.c
@@ -1066,7 +1066,6 @@ static void winnt_resume_one(ptid_t ptid, int step, enum gdb_signal sig)
struct winnt_process * process;
struct winnt_thread * thread;
mcontext_t * tctx;
- int response;
if ((tid = ptid.tid) <= 0)
if ((process = winnt_process_record(ptid.pid)))
@@ -1098,21 +1097,11 @@ static void winnt_resume_one(ptid_t ptid, int step, enum gdb_signal sig)
__dbg_regs_store(process->pfd,tid,tctx);
if (tid == process->event.systid) {
- switch (process->event.evttype) {
- case __DBG_STATE_EXCEPTION:
- response = __DBG_RESPONSE_EXCEPTION_NOT_HANDLED;
- break;
-
- default:
- response = __DBG_RESPONSE_CONTINUE;
- break;
- }
-
- process->event.eresponse = response;
-
while (__dbg_resume_thread(process->pfd,tid) > 1)
(void)0;
+ process->event.eresponse = __DBG_RESPONSE_CONTINUE;
+
__dbg_event_respond(
process->pfd,
&process->event);