HP aC++/HP C A.06.25 Programmer's Guide
+macro_debug
This option controls the emission of macro debug information into the object file.
Set +macro_debug to one of the following required options:
ref
Emits debug information only for referenced macros. This is the default for
-g, -g1, or -g0.
all
Emits debug information for all macros. This option can cause a significant
increase in object file size.
none
Does not emit any macro debug information.
One of the -g options (-g, -g0, or -g1) must be used to enable the +macro_debug
option.
+[no]objdebug
The +objdebug option generates debug information in object files and not in the
executable. The HP WDB debugger then reads the object files to construct debugging
information; they must be present when debugging.
The +noobjdebug option generates debug information in object files which the linker
places into the executable. The HP WDB debugger then reads the executable to construct
debugging information.
NOTE: With +objdebug, the object files or archive libraries must not be removed.
+objdebug is the default at link time and at compile time. If +noobjdebug is used
at link time, all debug information goes into the executable, even if some objects were
compiled with +objdebug.
If +objdebug is used at compile time, extra debug information is placed into each
object file to help the debugger locate the object file and to quickly find global types
and constants.
Usage:
Use +objdebug option to enable faster links and smaller executable file sizes for large
applications, rather than +noobjdebug where debug information is written to the
executable.
Use +noobjdebug with the -g, -g0, or -g1 option when using +ild.
+pathtrace
+pathtrace[=kind]
The +pathtrace option provides a mechanism to record program execution control
flow into global and/or local path tables. The saved information can be used by the HP
WDB debugger to assist with crash path recovery from the core file, or to assist when
debugging the program by showing the executed branches.
46 Command-Line Options