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).
This commit is contained in:
parent
1f25534628
commit
2855fac645
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue