proper usage of "-exec-interrupt"
Joel Brobecker
brobecker@adacore.com
Sat Sep 17 19:06:00 GMT 2011
> Whay does this signal come to parent process and can I avoid this
> somehow?
This is a bit of a guess, since I don't remember all the details,
but I think it might be a question of process group. To implement
the interrupt, many targets simply send a SIGINT signal to the
inferior process group. If you spawned GDB within the same process
group as GDB, and both GDB and the program being debugged share
the same process group as well, the interrupt will cause SIGINT
to be received by your IDE as well. So, try spawning GDB in its
own process group.
--
Joel
More information about the Gdb
mailing list