URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 24 |
Rev 33 |
/* Check that TRT happens for an uncaught non-abort signal, single thread.
|
/* Check that TRT happens for an uncaught non-abort signal, single thread.
|
#xerror:
|
#xerror:
|
#output: Unimplemented signal: 7\n
|
#output: Unimplemented signal: 7\n
|
#output: program stopped with signal 4.\n
|
#output: program stopped with signal 4.\n
|
*/
|
*/
|
|
|
#include <stdlib.h>
|
#include <stdlib.h>
|
#include <stdio.h>
|
#include <stdio.h>
|
#include <sys/types.h>
|
#include <sys/types.h>
|
#include <signal.h>
|
#include <signal.h>
|
int main (void)
|
int main (void)
|
{
|
{
|
kill (getpid (), SIGBUS);
|
kill (getpid (), SIGBUS);
|
printf ("xyzzy\n");
|
printf ("xyzzy\n");
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.