URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cris/] [c/] [sig5.c] - Rev 816
Go to most recent revision | Compare with Previous | Blame | View Log
/* Check that TRT happens for an uncaught non-abort signal, single thread. #xerror: #output: Unimplemented signal: 7\n #output: program stopped with signal 4.\n */ #include <stdlib.h> #include <stdio.h> #include <sys/types.h> #include <signal.h> int main (void) { kill (getpid (), SIGBUS); printf ("xyzzy\n"); exit (0); }
Go to most recent revision | Compare with Previous | Blame | View Log