Debugging with GDB (September 2007)
128 Debugging with GDB
(gdb) set inline-debug inline_bp_individual
or
$ gdb --inline = inline_bp_individual
• To disable inline debugging, enter either of the following commands be-
fore debugging the application:
(gdb) set inline-debug off
or
$ gdb --inline= off
Step 3:
You can use the following commands for debugging inline functions in Integrity systems:
step
next
list
backtrace
frame <n>
info locals
info args
breakpoint
The following commands are not available for debugging inline functions in In-
tegrity systems:
info frame
disassembly
14.9 Debugging Macros
HP WDB 5.7 and later versions of the debugger enable you to display and evaluate
macro definitions for programs running on Integrity systems. This feature is available only
for compiler versions A.06.15 and later.
14.9.1 Viewing and Evaluating Macro Definitions
HP WDB 5.7 and later versions of the debugger provide the following support for de-
bugging macros:
• Displaying Macro De finitions
HP WDB provides the following commands to display macro definitions:
- show macro [macro-name] or info macro [macro-name]
Displays the macro definition, source file name, and the line number. For example: