gdb + remote qemu, Ctrl-C does not work
Joel Brobecker
brobecker@adacore.com
Wed Mar 2 15:04:00 GMT 2011
> > Usually background processes don't get C-c.
>
> I am not sure, but I'd guess so. But what Pedro Alves says would
> explained everything perfectly.
That's only the case with interactive shells! In non-interactive
shell sessions (typically a script), background process are still
launched with the same process group as the parent script. Since
the SIGINT is propagated to all processes sharing the foreground
process group ID, this should explain why qemu is receiving the
SIGINT as well.
--
Joel
More information about the Gdb
mailing list