Sun Studio 12 Update 1: Debugging a Program With dbx

catch Command

The catch command catches the given signals. 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 signals numbered number.

catch signal signal ...

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