This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]