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] - Blame information for rev 438

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
/* 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
int main (void)
12
{
13
  kill (getpid (), SIGBUS);
14
  printf ("xyzzy\n");
15
  exit (0);
16
}

powered by: WebSVN 2.1.0

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