kwdb.1m (2011 03)

k
kwdb(1M) kwdb(1M)
NAME
kwdb - invoke KWDB, the source level kernel debugger and crash dump analyzer
SYNOPSIS
kwdb [options ] kernel_file
Run KWDB on a copy of the target kernel executable file on your host system.
kwdb -q4 [options ][kernel_file][crash_dump_directory]
Run KWDB for crash dump analysis.
kwdb -q4 [options ] kernel_file [remote_system:port ]
Run KWDB for remote crash dump analysis.
kwdb -q4 [options ] kernel_file
/dev/[k]mem
Run KWDB for live memory analysis
DESCRIPTION
kwdb is a kernel debugging tool based on the HP WDB Source-Level Debugger,
gdb. For complete infor-
mation about this debugger and its commands, see HP KWDB Kernel Debugger Guide, Debugging with
GDB, and Getting Started with HP WDB.
Use
kwdb for the following tasks:
Perform source level debugging of HP-UX kernel and Dynamically Loadable Kernel Modules from a
remote host system.
Analyze a crash dump.
Analyze the behavior of a running system.
Options
-b BAUDRATE Set serial port baud rate for remote debugging. BAUDRATE is 19200 for PA-
RISC systems or 57600 for Itanium-based systems.
-batch Run in batch mode.
-cd=DIR Change current directory to DIR.
-command=FILE Execute gdb commands from a FILE.
-directory=DIR Search for source files in the directory, DIR.
-epoch Use output from the epoch emacs-GDB interface.
-exec=EXECFILE Use the file, EXECFILE, as the executable file for debugging.
-fullname Cause output information to go to the epoch emacs-GDB interface.
-help List the version information and all options with brief explanations.
-m Process all loaded DLKMs.
-nw Do not use the Windows interface for debugging.
-nx Do not execute commands from initialization files.
-objectdir=DIR Search for object files in the directory, DIR.
-p Enable PERL scripts to run in q4 programming mode.
-q4 Set kwdb to run in q4 mode.
-quiet Do not print introductory and copyright messages.
-readnow Read symbol files completely on its first access.
-se=FILE Use the file, FILE, as both a symbol file and an executable file.
-symbols=FILE Read symbols from the file, FILE.
-tui Use a terminal user interface.
-type-clash Generate table of type name clashes.
HP-UX 11i Version 3: March 2011 1 Hewlett-Packard Company 1

Summary of content (12 pages)