Debugging "checked" drivers ? Only *.sys and *.inf needed ? or *.pdb needed too ?

S

Skybuck Flying

Hello,

I just build a driver for "Windows 7 x64".

The driver has a *.sys but also a *.pdb.

(This time the build said it build two executables... usually it said only
one...
does this mean it considers the *.sys now an executable as well ? hmm)

Question is how to debug this driver properly on windows 7, I see a couple
of possibilities:

1. Only the "checked" *.sys is needed ?

or

2. *.sys + *.pdb is needed ?

or

3. Everything is needed *.sys, *.pdb, *.obj ?

Or lastly

Maybe WinDbg must be pointed towards the pdb/obj's and such...

For now I will gamble point 1 ;)

Bye,
Skybuck.
 
D

Don Burn

The sys on the test machine, and the pdb and sources on the system running
Windbg.


--
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply




Skybuck Flying said:
Hello,

I just build a driver for "Windows 7 x64".

The driver has a *.sys but also a *.pdb.

(This time the build said it build two executables... usually it said only
one...
does this mean it considers the *.sys now an executable as well ? hmm)

Question is how to debug this driver properly on windows 7, I see a couple
of possibilities:

1. Only the "checked" *.sys is needed ?

or

2. *.sys + *.pdb is needed ?

or

3. Everything is needed *.sys, *.pdb, *.obj ?

Or lastly

Maybe WinDbg must be pointed towards the pdb/obj's and such...

For now I will gamble point 1 ;)

Bye,
Skybuck.


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4317 (20090808) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4317 (20090808) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top