DBX Notes
- acts as a shell. unrecognized commands are pushed back up to the shell above if
unrecognized on Sun machines or prefixed by
shon IBM machines. debugto debug a core dump.whereto print out the current location in a stack.upto go up a stack trace level.downto go down a stack trace level.print <>to print out the contents of a variable. Can dereference pointers or get raw addresses pointers point to, but this seems to be a little flawed when dealing with core dumps.stop atadds a breakpoint at the specified line in the currently loaded file.stop in >symbol name<adds a breakpoint at the beginning of the specified symbol/function.stop at "filename.c":123adds a breakpoint at the specified line of the specified file.run [args]allows the current executable to be started from the debugger. Arguments can be specified.statuslists current breakpoints (with indexing numbers).deletedeletes a specific weekend.contto continue from a breakpoint.next[i]to move on to the next line of code (or instruction).step[i]to step into the code (or instruction).examine />count<to display (in a fairly raw format) count bytes of memory starting at address.list [-10]to display the source around stack.
Login
Random Pic
Archive
July 2009 (1)
April 2009 (1)
September 2008 (3)
June 2008 (8)
May 2008 (37)
April 2008 (24)
March 2008 (27)
February 2008 (43)
January 2008 (27)
December 2007 (13)
Layout
Change Banner
Toggle Columns
Toggle Centering
Extras
