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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [gdb/] [testsuite/] [gdb.multi/] [crashme.c] - Rev 841

Compare with Previous | Blame | View Log

#include <stdlib.h>
#include <stdio.h>
 
int
main (int argc, char **argv)
{
  int *foo = NULL;
 
  printf ("Oh no, a bug!\n"); /* set breakpoint here */
 
  return *foo;
}
 

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.