> Almost all kernel drivers have a DriverEntry.
Almost? (or, as Anton would say, almost???)
Which ones do not?
----- Original Message -----
From: David R. Cattley
To: Windows System Software Devs Interest List
Sent: Friday, February 20, 2009 9:58 AM
Subject: RE: [ntdev] Breaking into win2k.sys each time I do a rdesktop
So you have a break point set purposely on win32k!DriverEntry because you did not let the debugger know what module you wanted.
It could have picked just about anything. Almost all kernel drivers have a DriverEntry.
You need to ?qualify? the breakpoint with the name of your driver (modulename).
Read the Windbg docs for the bp command. That will explain it better than I.
Good Luck,
Dave Cattley
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Deepak Gupta
Sent: Friday, February 20, 2009 4:39 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Breaking into win2k.sys each time I do a rdesktop
I have a linux machine.
I have my windows development machine on which I do rdesktop to from my desktop linux machine.
My deployment machine is a Server 2008 machine.
I wanted to trace into sources of DriverEntry of my driver, So I just put a breakpoint using “bp DriverEntry”.
Now, after that it used to break into other driver’s DriverEntry, fair enough.
Now whenever I do a rdesktop on my deployment machine, I see that I got a break in my WinDbg on DriverEntry of win2k module.
Below is what I get on my windbg
Breakpoint 1 hit
win32k!DriverEntry:
After this I said go in windbg and simply closed rdesktop window without logging in.
Again did a rdesktop on that deployment machine and saw windbg break again at DriverEntry of win32k.
It doesn’t have to do anything with my development, Asking just out of curiosity why is happening like this?
Regards
Deepak
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer