xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cris/c/sig5.c (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1 /* Check that TRT happens for an uncaught non-abort signal, single thread.
2 #xerror:
3 #output: Unimplemented signal: 7\n
4 #output: program stopped with signal 4 (*).\n
5 */
6 
7 #include <stdlib.h>
8 #include <stdio.h>
9 #include <sys/types.h>
10 #include <signal.h>
11 #include <unistd.h>
12 
main(void)13 int main (void)
14 {
15   kill (getpid (), SIGBUS);
16   printf ("xyzzy\n");
17   exit (0);
18 }
19