Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rocky Bernstein
committed
Jan 1, 2012
1 parent
74f5f85
commit c9dda98
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# use with example/signal.pl | ||
# See that we can stop on a signal properly | ||
set autoeval on | ||
c 10 | ||
handle HUP stop print | ||
c | ||
step | ||
step | ||
$leave_loop=1 | ||
continue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
-- (signal.pl:9) | ||
$SIG{'HUP'} = \&hup_handler; | ||
set auto eval is on. | ||
x1 (signal.pl:10) | ||
my $tempfile; | ||
Signal Stop Print Stack Pass Description | ||
HUP Yes Yes No No Hangup | ||
|
||
Program received signal HUP. | ||
!! (signal.pl:21) | ||
sleep 1; | ||
-- (signal.pl:21) | ||
sleep 1; | ||
-- (signal.pl:21) | ||
sleep 1; | ||
$DB::D[0] = 1 |