1 /* Simple program to help exercise gdb's convenience variables. */ 2 3 typedef void *ptr; 4 5 ptr p = &p; 6 7 void 8 foo_void (void) 9 { 10 } 11 12 int 13 foo_int (void) 14 { 15 return 0; 16 } 17 18 int 19 main () 20 { 21 p = &p; 22 return 0; 23 } 24