User`s guide

Using Signal Processing
75
continues to run. Use the showproc command to see whether the process
is still running. Then use the suspend command to stop the process.
Continuing After Catching a Signal
The cont command allows you to continue execution after catching a signal.
You can also use the cont command to specify a different signal to send to
your program than the one thatdbx caught. Using the same syntax, you can
also send a signal to your program when you continue, even if your program
did not stop because of a caught signal.
Use the following forms of the cont command when handling signals. In
each case, if you do not provide a signal, but your program stopped because
dbx caught a signal intended for your program, then dbx sends that signal to
your program when you continue execution:
cont [signal] Continues execution with the current line and sends the
specified signal to your program.
cont [signal] {at | to} line
Sets a temporary breakpoint at the specified source line,
then resumes execution with the current line and sends the
specified signal to your program.
cont [signal] in procedure
Sets a temporary breakpoint to stop execution upon
entering the specified procedure, then resumes execution
with the current line and sends the specified signal to your
program.
For example, if your program stopped because dbx caught a SIGINT signal,
dbx will automatically send that signal to your program, if you enter:
(dbx) cont
Suppose you have a procedure called alarm_handler to handle an alarm
signal sent to your program. If you want to test this procedure by single-
stepping through it, you can execute the following command:
(dbx) cont SIGALRM in alarm_handler
This sets a temporary breakpoint to stop your program upon entering
alarm_handler, continues execution of your program, and sends a