Sun Studio 12: Debugging a Program With dbx

catch Command

The catch command catches the given signal(s). It is valid only in native mode.

Catching a given signal causes dbx to stop the program when the process receives that signal. If you continue the program at that point, the signal is not processed by the program.



Print a list of the caught signals.

catch number number ...

Catch signal(s) numbered number.

catch signal signal ...

Catch signal(s) named by signal. SIGKILL cannot be caught or ignored.

catch $(ignore)

Catch all signals.


number is the number of a signal.

signal is the name of a signal.