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:
parent
6159431cd7
commit
00349e3f2a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue