Breakpoint 1, func_long_calc (i=5000) at c1.c:5 5 int j = 5; (gdb) list 8,10 8 for (plastic = 0; plastic < i; ++plastic) { 9 j += plastic; 10 } (gdb) break 9 if plastic == 503 Breakpoint 4 at 0x804835a: file c1.c, line 9. (gdb) cont Continuing. Breakpoint 4, func_long_calc (i=5000) at c1.c:9 9 j += plastic; (gdb) print plastic $1 = 503