How to handle all signals in GDB

2020-08-26 04:18发布

问题:

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...

回答1:

handle all nostop

Further documentation: here.



标签: gdb