Tools: Debugging Native and Java Code with WDB

Page 6
Tools for
Debugging
© 2001 Hewlett-Packard Company
gdb
Summary of Commands Used
b set breakpoint at current location
info break display all breakpoint information
x/16i $pc-32 examine 16 words formatted as instructions
from current PC minus 32 bytes
set redirect-file file specify file to which to send gdb output
set redirect-mode append set mode {overwrite | append}
set redirect on send output to a file {on|off}
set pagination off set state of pagination {on|off}
handle signal nostop noprint pass ignore signal