diff options
Diffstat (limited to 'gdb/testsuite/gdb.threads/killed.c')
-rw-r--r-- | gdb/testsuite/gdb.threads/killed.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gdb/testsuite/gdb.threads/killed.c b/gdb/testsuite/gdb.threads/killed.c deleted file mode 100644 index 6cb3928..0000000 --- a/gdb/testsuite/gdb.threads/killed.c +++ /dev/null @@ -1,24 +0,0 @@ -#include <sys/types.h> -#include <signal.h> -#include <pthread.h> -#include <stdio.h> - -int pid; - -void * -child_func (void *dummy) -{ - kill (pid, SIGKILL); - exit (1); -} - -int -main () -{ - pthread_t child; - - pid = getpid (); - pthread_create (&child, 0, child_func, 0); - for (;;) - sleep (10000); -} |