====== gdb ====== * compile executables with '-g' to generate debugging information (see 4.1 in gdb manual) * usage: gdb ===== gdb examples (at gdb prompt) ===== break [function name|line number|* address] delete [breakpointno] (delete breakpoint no or all breakpoints) run [> outfile] bt (backtrace) s (step into) c (continue) n (next, step over) set args ... show args info locals info breakpoints disable display (automatic display list) info display undisplay disable display enable display ===== External Links ===== * http://www.gnu.org/software/gdb/documentation/