Debugging with GDB (February 2008)

Table Of Contents
Chapter 14: HP-UX Configuration-Specific Information 127
The inline breakpoint features can degrade performance of the application that is be-
ing debugged. You can explicitly disable the breakpoint features when the fea-
tures are not required and continue to use other inline debugging features, such as step
and next.
14.8.2.1 Debugging Inline Functions in Integrity Systems
To debug inline functions in Integrity systems, complete the following steps:
Step 1:
The application must be compiled with the -g option for inline debugging. No ad-
ditional options are required.
For example:
/opt/aCC/bin/aCC -g test.c
Step 2:
Inline debugging without the breakpoint feature is enabled by default. You can mod-
ify the inline debugging settings by toggling the options for the set inline-
debug command.
To enable inline debugging without inline breakpoint support, enter ei-
ther of the following commands:
(gdb) set inline-debug on
or
$ gdb --inline = on
To set and modify breakpoints collectively on all instances of inline func-
tions and enable inline debugging, enter either of the following commands:
(gdb) set inline-debug inline_bp_all
or
$ gdb --inline = inline_bp_all
To set and modify individual breakpoints on specific instances of inline func-
tions and enable inline debugging, enter either of the following commands be-
fore debugging the application: