Free membership is required to download software from DSPP
- Existing members: If you are an existing member, please sign in. If after you sign-in you still cannot access software downloads and you see a "Join DSPP" link on the right side of the DSPP home page, you are an HP Passport member but not yet a DSPP member. Click on the "Join DSPP" link and complete your DSPP registration.
- Non-members: To become a DSPP member, please register.
- For additional details, visit troubleshooting tips or learn more about DSPP membership.
The KWDB Kernel/Driver Debugger for HP-UX is a source-level kernel and driver debugger for the HP-UX operating system, based on the HP WDB (GDB) user-space debugger. KWDB also incorporates all the functionalities of Q4 crash dump and live memory analyzer.
See the Kernel Debugger Guide for more information.
Features in HP KWDB:
- Support for 32-bit and 64-bit HP-UX kernels
- Support for debugging 64-bit dynamically loadable kernel modules (DLKM)
- Support for MP debugging
- Source code interspersed with disassembly listing
- Ability to attach and detach from a running kernel
- Ability to debug multiple targets on any subnet simultaneously
- Support for crash dump analysis
- Support for remote crash dump analysis
- Support for live memory analysis
- Support for Perl scripts
Additional features in KWDB 3.x not present in KWDB 2.1.x:
- Performance improvement: Startup time for debugging crash dumps on Itanium-based systems is significantly faster than KWDB 2.1.x
- Source Information for files not compiled with -g. For HP-UX 11i v2 (B.11.23) and later KWDB can display source file and line number information even for files not compiled with -g. This feature exists only for the Intel Itanium Processor Family kernels.
KWDB uses two systems during a remote debugging session. One, called the "host", runs the KWDB debugger; the other system, called the "target", runs the kernel to be debugged. The KWDB debugger is run as a process on the host -- just like wdb (gdb). The target system executes the kernel being debugged and is booted in a special manner for KWDB debugging. Target and host communicate with each other over KWDB.
The unwind library is provided for writing stack unwind applications for Itanium-based systems which comply with the documented "Itanium Runtime Architecture and Software Conventions."
Starting from KWDB version 3.1.9, there will be only one depot and one source file that works for both PA-RISC and Itanium servers.
KWDB value pack below contains certain additional utilities like kwdbctl, kwdbcr, kwdbd etc which used to be shipped along with KWDBIPF_3 and KWDBPA_3.
The steps below describes on how to use the tarballs available
here for building and installing kwdb client.
1. Download both the tarballs (kwdb_value_pack.tar and
kwdb_src_YYMMDD.tar) to a particular location in the
machine where kwdb needs to be installed. Use of
kwdb_value_pack.tar is optional, but recommended.
2. Untar the two tarballs from same directory.
3. Run "./install-kwdb -b -p ". This
will build and install kwdb client at "kwdb_root_directory".
It is not necessary that "kwdb_root_directory" be owned by
root user. Add that directory at the head of $PATH env
variable for best results.