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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cris/] [c/] [kill2.c] - Blame information for rev 816

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

Line No. Rev Author Line
1 227 jeremybenn
/* Basic kill functionality test; suicide.
2
#xerror:
3
#output: program stopped with signal 6.\n
4
*/
5
 
6
#include <stdio.h>
7
#include <stdlib.h>
8
#include <sys/types.h>
9
#include <signal.h>
10
int
11
main (void)
12
{
13
  kill (getpid (), SIGABRT);
14
  printf ("undead\n");
15
  exit (1);
16
}

powered by: WebSVN 2.1.0

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