CISC 221 Lecture Notes - Lecture 6: Gnu Debugger, Complex Instruction Set Computing, Emacs
Document Summary
Run -- run the program with args". Attach -- attach gdb to given pid". Info -- give detail information about given topic". Break -- set breakpoint at entry to function. Break -- set breakpoint at specified line. Break -- set breakpoint at specific address. Disable -- disable the breakpoint of given num". Enable -- enable the breakpoint of given num". Delete -- delete the breakpoint of given num". Info br -- info about all the breakpoints. Info br -- info about certain num" breakpoint. Next -- execute one instruction, stepping over function. Next -- execute num" instruction, stepping over functions. Until -- run until loc" is reached. Finish -- run until the current function returns. Backtrace -- print the current address and stack backtrace. Where -- print the current address and stack backtrace. List -- list 10 lines of code, centered on line.