Catch a signal.
catch [signal_ID]
signal_ID |
The signal for the debugger to catch and handle. |
This command catches and handles the specified signal. You can specify the signal by integer number or by standard signal name, with or without the prefix SIG. The catch command is equivalent to the breakpoint command stop signal: For example, the command catch ILL is similar to stop signal SIGILL.
The catch and stop signal commands differ in the following ways:
The debugger does not make an entry in the breakpoint table for a catch command.
A catch for a signal that is already being caught does not create an additional breakpoint for that signal.
A catch command without any parameter lists all signals currently being handled.
(idb) catch INT, ILL, ABRT, FPE, SEGV, TERM, QUIT, TRAP, BUS, SYS, PIPE, URG, STOP, TTIN, TTOU, XCPU, XFSZ, PROF, USR1, USR2, VTALRM
Copyright © 1996-2010, Intel Corporation. All rights reserved.