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

  • Thread starter Thread starter Skybuck Flying
  • Start date Start date
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.
 
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
 
Back
Top