Kam
Kam

Reputation: 6008

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

Upvotes: 20

Views: 22691

Answers (1)

edmz
edmz

Reputation: 8494

handle all nostop

Further documentation: here.

Upvotes: 28

Related Questions