dbx commands and disassembly
By Darryl Gove on Oct 05, 2007
Here's a list of the command supported by dbx. The listi command shows the disassembled code for the next instructions:
% dbx a.out (dbx) stop in main dbx: warning: 'main' has no debugger info -- will trigger on first instruction (2) stop in main (dbx) run Running: a.out (process id 16158) Reading libc_psr.so.1 stopped in main at 0x00010cd0 0x00010cd0: main : save %sp, -120, %sp (dbx) listi dbx: warning: no source lines at current PC; use "dis" instead 0x00010cd4: main+0x0004: sethi %hi(0x21000), %l0 0x00010cd8: main+0x0008: clr [%l0 + 0x00000164] ...