Name

handle

Synopsis

handle signal keywords ...

Set GDB up to handle one or more signals. The signal may be a signal number, a signal name (with or without the SIG prefix), a range of the form low-high, or the keyword all. The keywords are one or more of the following:

ignore

Ignore the signal; do not let the program see it.

noignore

Same as the pass command.

nopass

Same as the ignore command.

noprint

Do not print a message when the signal arrives.

nostop

Do not stop the program when the signal arrives; let the debuggee receive it immediately.

pass

Pass the signal on through to the program.

print

Print a message when the signal arrives.

stop

Stop the program when the signal arrives. Normally, only “error” signals such as SIGSEGV stop the program.

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.