Debugging with GDB (September 2007)
114 Debugging with GDB
• Support for core file commands packcore, unpackcore, getcore and dumpcore.
• On PA-RISC systems, sanity check for core files dumped by hardware generated signals
can be performed. HP WDB can detect and warn the user about certain cases of
corrupted core files.
• Inline support is on by default on Integrity systems. On PA-RISC, the inline support
is still off by default.
• For PA 64-bit applications, WDB can step into shared library bind-on-reference calls.
This support is available for PA 32-bit as well.
• Interception of synchronous signals used by sigwait(), sigwaitinfo() and
sigtimedwait() functions. These signals are displayed by WDB just like
asynchronous signals but are always passe d to the debugger whether nopass is set or
not.
• Support for debugging hardware watchpoints and shared libraries.
• For PA 64-bit applications, WDB can step into shared library bind-on-reference calls.
This support is available for PA 32-bit as well.
• Implementation of -mapshared option to suppress mapping all the shared libraries in
a process private.
• Support for deferred breakpoints on dlopened and shl_loaded libraries with stripped
main program.
• Additional support for procedural breakpoints.
• C99 variable arrays implemented on Integrity systems. This support is available on
PA-RISC as well.
• The show envvars command can be used to print information on environment variables
supported by WDB.
• Support for handling __fpreg data type.
• Support for making changes to the program when debugging without having to re-
compile or re-link it.
• Hardware breakpoints on Integrity systems .
• Support for debugging PA-RISC Applications on Integrity systems.
• Unwinding Java stack frames on Integrity systems. The 64-bit version of gdb can
unwind through Java stack frames using the shared library in the Java product.The
64-bit library is part of the JDK 1.4.2.10 and JDK 1.5.0.03 products.
• Enhanced nexti and stepi commands. The WDB nexti and stepi commands, prints
the assembly instruction along with the next source line.
• Enhanced info symbol ADDRESS command. The info symbol ADDRESS command has
been enhanced to search for a symbol at the given address. Previously, the info symbol
command could be used only to search the global namespace.
• Enhanced Java debugging support.
• Support for debugging C++ programs running under Linux Runtime Environment.
• Support for stop in/at dbx commands.
• Support for GNU GDB logging commands.