aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsig.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsig.c')
-rw-r--r--gdb/testsig.c17
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);
-}