catch (idb mode only)

Catch a signal.

Syntax

catch [signal_ID]

Parameters

signal_ID

The signal for the debugger to catch and handle.

Description

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:

A catch command without any parameter lists all signals currently being handled.

Example

(idb) catch
INT, ILL, ABRT, FPE, SEGV, TERM, QUIT, TRAP, BUS, SYS, PIPE, URG, STOP, TTIN, TTOU, XCPU, XFSZ, PROF, USR1, USR2, VTALRM

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.