Tools: Debugging Native and Java Code with WDB
Page 73
Tools for
Debugging
© 2001 Hewlett-Packard Company
gdb
Set a Breakpoint in Compiled Code
• Easy to set breakpoint interpreted or compiled
code:
• Direct:
(gdb) b *0x6d4142c4
• Go to the frame to set the breakpoint:
(gdb) up # - go to frame #
(gdb) b
• Demonstrated subsequent steps:
• Continue after setting the breakpoint
• Examination of instructions using x command