Search code examples
gdb

How to handle all signals in GDB


I am doing to following:

gdb -p $progid -x $file


>> cat file
>> handle SIGUSR1 nostop
    c

How can I handle all signals to nostop without having to write:

handle SIGUSR1 nostop
handle SIGUSR2 nostop
Etc...

Solution

  • handle all nostop
    

    Further documentation: here.