diff options
Diffstat (limited to 'gdb/testsig.c')
-rw-r--r-- | gdb/testsig.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/testsig.c b/gdb/testsig.c deleted file mode 100644 index ded2d20..0000000 --- a/gdb/testsig.c +++ /dev/null @@ -1,17 +0,0 @@ -# include <signal.h> - -main () -{ - int handle (); - int i; - signal (SIGALRM, handle); - alarm (5); - for (i = 0; i < 100000; i++) - printf ("%d\n", i); -} - -handle () -{ - printf ("signal!\n"); - alarm (5); -} |