winedbg/gdbproxy: Don't try to single-step a terminated process.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2018-07-30 14:47:54 -05:00 committed by Alexandre Julliard
parent 6159431cd7
commit 00349e3f2a
1 changed files with 2 additions and 1 deletions

View File

@ -1065,6 +1065,7 @@ static enum packet_return packet_verbose_cont(struct gdb_context* gdbctx)
} /* if(defaultAction >=0) */ } /* if(defaultAction >=0) */
wait_for_debuggee(gdbctx); wait_for_debuggee(gdbctx);
if (gdbctx->process)
gdbctx->process->be_cpu->single_step(&gdbctx->context, FALSE); gdbctx->process->be_cpu->single_step(&gdbctx->context, FALSE);
return packet_reply_status(gdbctx); return packet_reply_status(gdbctx);
} }