Microsoft KB Archive/118887

{| The information in this article applies to:
 * width="100%"|
 * Microsoft Windows NT operating system version 3.1
 * Microsoft Windows NT Advanced Server version 3.1

SUMMARY
This article details how to enable the debugger on a MIPS-based computer and how to use MIPSKD to remotely debug from an x86, MIPS, or Alpha platform.

MORE INFORMATION
Remotely debugging a MIPS-based computer requires a few steps that are different from debugging an x86-based computer. To set up for remote debugging on a MIPS-based computer:

 The MIPS debugger requires the base address of the kernel on the remote computer before any symbols load. To acquire the base address of the remote computer, MIPSKD must be connected to the remote computer through a reboot cycle. The kernel base address is then stored in a file called KERNBASE.DAT for future debug sessions on the same MIPS-based computer.  The remote MIPS-based computer should have the debugger enabled to connect and create the KERNBASE.DAT file. To enable the debugger on a MIPS-based computer: a. From the Boot menu, choose Run Setup. b. Select Manage Startup. c. Select Change A Boot Selection. d. Select Windows NT 3.1 or Windows NT Advanced Server 3.1. e. Use the arrow keys to select OSLOADOPTIONS, and then press ENTER. f. Set the value to "/debug" (without the quotes), and then press ENTER.  Set the modem to Auto Answer mode and disable DTR by typing "AT&D0S0=1" (without the quotation marks) in Terminal from another workstation, and then plug the modem in to the first available COM port on the MIPS-based computer. From the Boot menu of the remote MIPS-based computer, choose Windows NT 3.1 or Windows NT Advanced Server 3.1. Disable DTR on the local modem by typing "AT&D0" (without quotation marks) in Terminal. Connect to the remote MIPS-based computer. Select to shutdown and restart the MIPS-based computer after you are connected. When the MIPS- based computer is rebooted, select Windows NT 3.1 or Windows NT Advanced Server 3.1 from the Boot menu of the remote MIPS-based computer.

While Windows NT is loading on the remote MIPS-based computer, the debugger should automatically re-establish the session and create a KERNBASE.DAT file on your local hard disk. You should now be able to dial into the MIPS-based computer, load symbols, and debug.
 * }

-

Last reviewed: September 23, 1996

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.