Problems with gdb IRIX and signals

Joel Brobecker brobecker@gnat.com
Wed Sep 29 07:10:00 GMT 2004


> I'm trying to debug a program under IRIX 6.5 and when I attach to an
> already running program once I type cont
> there is to way to interrupt the program under test. The code hits the
> breakpoints I set but there is no way to interrupt the program.
> 
> Versions are gdb 5.3 and gcc 2.8.1 - not quite state of the art but I've
> tried to compile later version with this ancient toolset but have had no
> joy and have given up.

Try the following trick: send a SIGINT to the process you're debugging.
If the process has a terminal, you can simply press "Control-C" in that
terminal, but otherwise a well placed "kill -INT pid" command should
also work as well.

-- 
Joel



More information about the Gdb mailing list