Hello
I am familiar with using windbg and softice for debugging device drivers on
Win NT,however i need some info on how to debug a USB-NDIS miniport driver
for windows 98,i think that you cannot use windbg for debugging device
drivers for OS’s other than Win NT,and the version of SoftIce that i have
does not support translation of the sys file(as it is made using VC++
6.0,which unfortunately is not supported by the same version of softice).
So if you guys know of any other tool that is freely downloadable and can be
used for debugging Win 98 device drivers then that would be valuable
information.
thanks and regards
aditya
Hello,
You can use softice for Windwos 98. When you build your driver with
the IDE the same compiler is invoked and the same binary is build.
For Windows 98 and Windows 2000 the binary for a NDIS USB driver can
be the same.
elli
If you have Win9x DDK installed, please look in the bin directory. Copy
WDEB386.EXE, runwdeb.wrf, runwdeb.bat into the system directory (or any
directory) of the target system. Make sure the /c:x in runwdeb.bat represents
the right com port. If you copied those three files other than system
directory then you have to edit “…\win.com” to make sure it points to the
. Place the following commands in Autoexec.bat file.
cd \windows\system
pause (optional)
runwdeb
Target system is now configured. Run Rterm.exe from your host machine. It
will ask you for a debug terminal name, give some junk name and configure the
com port to the port where your serial cable is connected to. Now start the
target system, you should see WDEB386 copyright info on Rterm.
You can remove most entries in runwdeb.wrf file and only have your drivers
and the related OS components. WDEB386 loads the symbol files you specify in
the wrf files. (Run MAPSYM to get SYM files for MAP files).
Ready to go. For more info, please go thru the documentation in Win9x DDK.
Raja
> drivers for OS’s other than Win NT,and the version of SoftIce that i have
does not support translation of the sys file(as it is made using VC++
6.0,which unfortunately is not supported by the same version of softice).
Copy MSPDBxxx.DLL to SoftIce’s directory and ensure the the SI’s Symbol
Loader sees it. Then compile with PDB debug info and use the Symbol Loader
to convert it to NMS.
Max