I am facing a small problem that I haven't seen before. I am trying to debug a software package and running through GDB (on Ubuntu Linux). After few seconds/minutes, I get this message:
Program terminated with signal SIGALRM, Alarm clock.
The program no longer exists
Then, I quit GDB, restart and continue debugging...This is really annoying because I have to quit it like a 1000 times. I am wondering if anyone faced this issue before?!
I am assuming 'SIGALRM' is programmed in the source files somewhere, is there a way to run GDB without being affected as mentioned?
Thank you.
Tell gdb to ignore the signal:
(gdb) handle SIGALRM ignore
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With