Home | History | Annotate | Line # | Download | only in gdb.multi
crashme.c revision 1.1
      1  1.1  christos #include <stdlib.h>
      2  1.1  christos #include <stdio.h>
      3  1.1  christos 
      4  1.1  christos int
      5  1.1  christos main (int argc, char **argv)
      6  1.1  christos {
      7  1.1  christos   int *foo = NULL;
      8  1.1  christos 
      9  1.1  christos   printf ("Oh no, a bug!\n"); /* set breakpoint here */
     10  1.1  christos 
     11  1.1  christos   return *foo;
     12  1.1  christos }
     13