
emperor13(25)% cat temp.c
#include <stdio.h>
int main()
{
   int *p = NULL;
   printf("%d\n",*p);
   return 0;
}
emperor13(26)% ./temp
Segmentation fault (core dumped)
emperor13(27)% gdb temp
GNU gdb 6.3
...
(gdb) run
Starting program: /afs/cs.wisc.edu/u/e/l/eli/537/p1/temp

Program received signal SIGSEGV, Segmentation fault.
0x0804836e in main () at temp.c:6
6               printf("%d\n",*p);
(gdb)
