14.3Supported Platforms and Modes

Supported Platforms

HP WDB supports source-level debugging of programs written in HP C, HP aC++, and Fortran 90 on Integrity systems running on HP-UX 11i v2 or later and PA- RISC systems running HP-UX 11i v1 and later.

Support for assembly-level debugging

HP WDB provides support for assembly-level debugging.

Support for automatic loading of debug information

Debug information is automatically loaded from modules when an application is com- piled with the +objdebug option.

Support for debugging PA-RISC programs on Itanium-based systems

You can debug PA-RISC applications and core files on Itanium-based systems. When you start HP WDB, if the debug target is a PA-RISC binary program, the debugger automatically loads PA-RISC WDB. The PA-RISC version of HP WDB is provided as part of the HP-UX operating system.

Support for debugging large core files (> 2GB)

HP WDB supports debugging of core files with sizes more than 2 GB.

Support co-variant type

HP WDB can step into a co-variant function. The compiler-generated function called thunks, which is used internally by the compiler to support co-variant return type, is not shown when you do a backtrace or switch from one frame to another frame. Similarly, using a finish or return command at a co-variant callee function directly returns the control back to the caller of thunks.

New attach command line options and handling (-pid or -p)

HP WDB accepts -pidor -pfollowed by a process ID to attach a running process to the debugger.

142 HP-UX Configuration-Specific Information