aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.multi/crashme.c
blob: 6749194eb75e5f7c933371774847b024cbdd09ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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;
}