Commit 2855fac6 authored by Paul Bolle's avatar Paul Bolle Committed by Alexandre Julliard

winedbg: gdb proxy mode: allow interrupt from command line.

Ignore SIGINT (in gdb_startup) so an interrupt from the command line will break the debuggee and bring up the gdb prompt (instead of killing both winedbg and the debuggee).
parent 1f255346
......@@ -2252,6 +2252,7 @@ static BOOL gdb_startup(struct gdb_context* gdbctx, DEBUG_EVENT* de, unsigned fl
fprintf(stderr, "Cannot create gdb\n");
return FALSE;
default: /* in parent... success */
signal(SIGINT, SIG_IGN);
break;
case 0: /* in child... and alive */
gdb_exec(imh_mod.LoadedImageName, s_addrs.sin_port, flags);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment