Welcome to Darwin! [calvin:~] peter% cd Desktop/cs6450/ [calvin:~/Desktop/cs6450] peter% gdb --annotate=3 ./main GNU gdb 5.0-20001113 (Apple version gdb-203) (Wed Nov 7 16:28:57 GMT 2001) (UI_OUT) Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-macos10". Reading symbols for shared libraries .. done breakpoints-invalid (gdb) break 35 post-prompt breakpoints-invalid Breakpoint 1 at 0x5904: file main.c, line 35. (gdb) run post-prompt Starting program: /Users/peter/Desktop/cs6450/./main [Switching to thread 1 (process 21495 thread 0x1603)] breakpoints-invalid breakpoints-invalid starting breakpoints-invalid breakpoint 1 Breakpoint 1, frame-begin 0 0x5904 frame-function-name main frame-args () frame-source-begin at frame-source-file main.c frame-source-file-end : frame-source-line 35 frame-source-end source /Users/peter/Desktop/cs6450/main.c:35:1190:beg:0x5904 frame-end stopped (gdb) next post-prompt starting frames-invalid breakpoints-invalid LPP Database System V2.0 frames-invalid breakpoints-invalid source /Users/peter/Desktop/cs6450/main.c:36:1232:beg:0x5910 frame-end stopped (gdb) display tree post-prompt display-begin 1 display-number-end : display-format display-expression tree display-expression-end = display-expression (Tree *) 0x0 display-end (gdb) quit post-prompt pre-query The program is running. Exit anyway? (y or n) query y post-query frames-invalid [calvin:~/Desktop/cs6450] peter%