Download HP-UX KWDB Kernel Debugger Guide

Transcript
Setting Up KWDB for Remote Debugging
KWDB Setup
Break Ctrl:
Forward:
Local
None
Session Limit:
4
Terminal Type: Ansi(HP)
If the target machine uses a port on the Lantronix device for its remote console, the same port cannot be used,
connect the second serial port of the target to a different port on the Lantronix. When issuing the commands
to connect KWDB to the remote target, the name of the Lantronix device and the port number are needed. See
Chapter 3, “Getting Started with Remote Debugging.”
Console Debugger Communication
All HP-UX kernels version 11.11 or later have a debugger called the on-console or single system debugger
embedded in the kernel which can be accessed via the system console. If the target system is 11.11 or later
use the on-console debugger. The on-console debugger has a limited set of commands and allows assembly
level debugging only. KWDB on a host system can communicate with the on-console debugger on the target
system if there is a remote console for the target system. This allows for the use of the full set of KWDB
commands with no extra communications setup. To do this, see Chapter 3, “Getting Started with Remote
Debugging.”
28
Chapter 2