OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [c/] [sig5.c] - Diff between revs 24 and 157

Only display areas with differences | Details | Blame | View Log

Rev 24 Rev 157
/* 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);
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.