beautypg.com

9 debugging macros, 1 viewing and evaluating macro definitions – HP gnu source-level debugger 5992-4701 User Manual

Page 153

background image

(gdb) set inline-debug inline_bp_all
or
$ gdb --inline = inline_bp_all

To set and modify individual breakpoints on specific instances of inline
functions and enable inline debugging, enter either of the following commands
be- fore debugging the application:

(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

3.

You can use the following commands for debugging inline functions in Integrity
systems:

step

next

list

backtrace

frame

info locals

info args

breakpoint

The following commands are not available for debugging inline functions in
Integrity 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 Definitions

Displaying Macro Definitions HP WDB provides the following commands to
display macro definitions:

14.9 Debugging Macros

153