This is the mail archive of the
mailing list for the GDB project.
Re: gdb + remote qemu, Ctrl-C does not work
> > 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.