Zebediah Figura : winedbg/gdbproxy: Don' t try to single-step a terminated process.
Module: wine Branch: master Commit: 00349e3f2a146af4c05c5333785fd433d9b74475 URL: https://source.winehq.org/git/wine.git/?a=commit;h=00349e3f2a146af4c05c53337... Author: Zebediah Figura <z.figura12(a)gmail.com> Date: Mon Jul 30 14:47:54 2018 -0500 winedbg/gdbproxy: Don't try to single-step a terminated process. Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- programs/winedbg/gdbproxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c index 0135cfc..5fbd6c8 100644 --- a/programs/winedbg/gdbproxy.c +++ b/programs/winedbg/gdbproxy.c @@ -1065,7 +1065,8 @@ static enum packet_return packet_verbose_cont(struct gdb_context* gdbctx) } /* if(defaultAction >=0) */ wait_for_debuggee(gdbctx); - gdbctx->process->be_cpu->single_step(&gdbctx->context, FALSE); + if (gdbctx->process) + gdbctx->process->be_cpu->single_step(&gdbctx->context, FALSE); return packet_reply_status(gdbctx); }
participants (1)
-
Alexandre Julliard