invoking GDB from FE and signals
Daniel Jacobowitz
drow@false.org
Mon May 15 19:43:00 GMT 2006
On Mon, May 15, 2006 at 02:18:21PM -0400, Bob Rossi wrote:
> OK, here's what happens from the FE perspective though. You type ^c. The
> FE get's the signal (which is in a different process group than GDB),
> and passes the signal to GDB with 'kill (gdb_pid, SIGINT)'.
Jim just explained this, but it may not have been clear: that is the
wrong way to forward the signal. If you are running GDB on a
pseudo-tty, you need to forward the job control signal to that TTY, not
to the GDB process itself.
I don't really know how to do that. Is it by setting BRKING in
termios? There's something about TIOCSIGNAL too. Lots of code for
this in emacs.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list