Many a times application throws signals during its execution. By default gdb has some setting for all UNIX defined signals. If this default is "stop" the application, it becomes quite irritating.
To handle a signal: (gdb) handle SIGUSR1 nostop
All available options are:
GDB should not stop your program when this signal happens. It may still print a message telling you that the signal has come in.
GDB should stop your program when this signal happens. This implies the print keyword as well.
GDB should allow your program to see this signal; your program can handle the signal, or else it may terminate if the signal is fatal and not handled. pass and noignore are synonyms.
GDB should not allow your program to see this signal. nopass and ignore are synonyms.