Hello,
This the firs tiem I have used Win2000 Windbg to debug a Win2k driver.
Everything seems ok except I am not able to load the source code. I think I
don’t know how to load the symbols for my driver. Can any body help?
Thanks in advance
James
Another question on Win2k driver.
If I compile my 1394 driver in Win2k DDK on WIn2k system, then the driver
can be loaded in Win2k system. But If I compile the same driver in Win2k
DDK on WIn98SE, then the driver can not be loaded in WIn98SE system. Any
body got any idea?
Thanks
James
-----Original Message-----
From: Zhou, James
Sent: Friday, September 22, 2000 3:06 PM
To: NT Developers Interest List
Subject: [ntdev] How to load source code in Windbg kernel
Hello,
This the firs tiem I have used Win2000 Windbg to debug a Win2k driver.
Everything seems ok except I am not able to load the source code. I think
I don’t know how to load the symbols for my driver. Can any body help?
Thanks in advance
James
Typical reason: You are using certain function that is not supported in
Windows 98 SE. Compile your code using Win98 DDK.
Raja
<< Another question on Win2k driver.
If I compile my 1394 driver in Win2k DDK on WIn2k system, then the driver
can be loaded in Win2k system. But If I compile the same driver in Win2k
DDK on WIn98SE, then the driver can not be loaded in WIn98SE system. Any
body got any idea?
>>
You need to tell Windbg where your symbols are.
When you build you should wind up with a PDB file in the same dir as
your driver.
Point the debugger to this file like this:
.sympath \mybuildmachine\mydrivershare\obj\i386
<file:>
Then do a .reload
To verify symbols were loaded do a “x mydriver!*” If you see a bunch of
symbols then it worked. If you get an error message or no symbols then
it didn’t.
Also make sure you are using the latest debugger from
http://www.microsoft.com/ddk/debugging
And read the docs that come with that package. They should help out
alot.
Enjoy
-----Original Message-----
From: Zhou, James
Sent: Fri 9/22/2000 12:06 AM
To: NT Developers Interest List
Cc:
Subject: [ntdev] How to load source code in Windbg kernel
Hello,
This the firs tiem I have used Win2000 Windbg to debug a Win2k
driver.
Everything seems ok except I am not able to load the source
code. I think I
don’t know how to load the symbols for my driver. Can any body
help?
Thanks in advance
James
—
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to
xxxxx@lists.osr.com</file:>
Thank you, Raja.
But Win2k DDK suggests to compile the code in Win2k environment. ???
James
-----Original Message-----
From: xxxxx@aol.com [mailto:xxxxx@aol.com]
Sent: Friday, September 22, 2000 3:55 PM
To: NT Developers Interest List
Subject: [ntdev] RE: How to load source code in Windbg kernel
Typical reason: You are using certain function that is not supported in
Windows 98 SE. Compile your code using Win98 DDK.
Raja
<< Another question on Win2k driver.
If I compile my 1394 driver in Win2k DDK on WIn2k system, then the driver
can be loaded in Win2k system. But If I compile the same driver in Win2k
DDK on WIn98SE, then the driver can not be loaded in WIn98SE system. Any
body got any idea?
>>
You are currently subscribed to ntdev as: xxxxx@asia.adaptec.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)