20

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...
Kam
  • 5,878
  • 10
  • 53
  • 97

1 Answers1

26
handle all nostop

Further documentation: here.

Delimitry
  • 2,987
  • 4
  • 30
  • 39
edmz
  • 8,220
  • 2
  • 26
  • 45
  • And you might also want `set pagination off` to not make GDB stop, as the output list will be long: https://stackoverflow.com/questions/28815621/how-to-disable-type-return-to-continue-or-q-return-to-quit-in-gdb – Ciro Santilli OurBigBook.com Nov 25 '22 at 08:48