The following information is for enabling the debugging component on the target machine so that the host debugger can communicate with the target. For information on starting the host debugger, see Section 4.1.6.
You must enable kernel debugging on the target machine before you can connect to it with WinDbg.
The method of enabling kernel debugging on the target machine is different for the different platforms supported by Windows NT. For an ARC machine (RISC-based platforms), you modify the OSLOADOPTIONS environment variable in the ARC firmware; for an x86-based machine, you modify a line in the [operating systems] section of boot.ini.
In the appropriate section for the target platform as outlined in the preceeding section, you can specify the following options:
Specifing BAUDRATE enables kernel debugging and renders DEBUG redundant.
For an RISC based machine, the following OSLOADOPTIONS would boot Windows NT in a simulated 10 MB environment, with kernel debugging enabled on COM1, and communicating at 115200 baud.
OSLOADOPTIONS= MAXMEM=10 DEBUGPORT=COM1 BAUDRATE=115200
The following is an equivalent entry, for an Intel x86 platform, in boot.ini.
multi(0)disk(0)rdisk(0)partition(1)\NT="Windows NT" /MAXMEM=10 /DEBUGPORT=COM1 /BAUDRATE=115200