Win2000 and WinNT4 don't contain runwdeb.wrf file.
I need some help on Win2000 Windbg.
1. How to load my own driver symbols? I followed the following steps to
try to load my driver symbols:
1. Compile my driver with Win2000 DDK to get MyDriver.sys and
2. Create "MySymbols" with "sys" subdir and copy MyDriver.pdb
to "sys" directory on the host system
3. Copy MyDriver.sys file to %winnt%\system32\drivers directory
on the target system
4. Set "Debug Symbol Search Path" in "Windows Debugger
Options\Symbols" to "MySymbols"
When MyDriver.sys is loaded, the corresponding symbols can not be
loaded. What is wrong?
2. How to debug driver in source level? How to set "Default Search
Path" and "Path Mapping Pairs" ("Source" and "Mapped to") in "Windows
Debugger Options\Source files"? I checked Win2000 DDK document but couldn't
find the solution.
From: [email protected]
Sent: Friday, February 25, 2000 12:47 AM
To: NT Developers Interest List
Subject: [ntdev] RE: 0x18 PnP IRP???
In your runwdeb.wrf file add the following:
That's how Win9x WDEB386 works. I believe WinDbg should require the same
<< The major function is IRP_MJ_PNP (0x1b) and the minor function is 0x18.
So Dinker, do you know normally how to handle this function? My device is a
USB device. Currently, I don't handle it.
Another question: How to add my own driver symbols to WinDbg in Win2000?
Right now, I have a symbols directory and a sub directory sys for my driver
and copied *.pdb (I also tried *.sys, *.sym) to the sub directory and in
WinDbg setting, I set the directory path. But when my driver is loaded,
WinDbg still can not find the symbol. Waht's wrong?
You are currently subscribed to ntdev as: [email protected]
To unsubscribe send a blank email to $subst('Email.Unsub')