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] - Rev 842

Compare with Previous | Blame | View Log

/* Basic kill functionality test; suicide.
#xerror:
#output: program stopped with signal 6.\n
*/
 
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <signal.h>
int
main (void)
{
  kill (getpid (), SIGABRT);
  printf ("undead\n");
  exit (1);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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