Hello everybody,
I’m trying to debug a Win2K Bus Driver using WinDbg and am unable
to load the symbols for my driver. Here is the message I get in
WinDbg:
Module Load: BUSENUM.SYS (no symbols loaded)
E:\WINNT\symbols\Free\BUSENUM.dbg for BUSENUM.SYS (has mismatched checksums
sym 0x00011088 img 0x00011CE8 )
Here is what I do to get the symbols file:
==
E:\> dumpbin /HEADERS busenum.sys
[shows “image base address” as 0x10000 in OPTIONAL HEADER VALUES]
E:\> rebase -B 0x10000 -X .\SYMBOLS busenum.sys
REBASE: Total Size of mapping 0x0000000000010000
REBASE: Range 0x0000000000010000 -0x0000000000020000
This gives me a busenum.dbg file which I copy to my Symbols directory.
Can anyone tell me what I am doing wrong ?
Thank you so much for your help!
Puja
hi puja ,
Code and .Sys are not in sink (Have you modified the code after you comiled it,Even a ENTER can make a difference).
ajitabh
-----Original Message-----
From: xxxxx@usa.net [SMTP:xxxxx@usa.net]
Sent: Saturday, April 29, 2000 1:25 AM
To: NT Developers Interest List
Subject: [ntdev] Unable to load my Driver symbols
Hello everybody,
I’m trying to debug a Win2K Bus Driver using WinDbg and am unable
to load the symbols for my driver. Here is the message I get in
WinDbg:
Module Load: BUSENUM.SYS (no symbols loaded)
E:\WINNT\symbols\Free\BUSENUM.dbg for BUSENUM.SYS (has mismatched checksums
sym 0x00011088 img 0x00011CE8 )
Here is what I do to get the symbols file:
==
E:\> dumpbin /HEADERS busenum.sys
[shows “image base address” as 0x10000 in OPTIONAL HEADER VALUES]
E:\> rebase -B 0x10000 -X .\SYMBOLS busenum.sys
REBASE: Total Size of mapping 0x0000000000010000
REBASE: Range 0x0000000000010000 -0x0000000000020000
This gives me a busenum.dbg file which I copy to my Symbols directory.
Can anyone tell me what I am doing wrong ?
Thank you so much for your help!
Puja
You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
Thanks, it is working (by mistake I was copying the wrong SYS file).
Thanks
Puja
On 05/02/00, “Ajitabh Prakash ” wrote:
> hi puja ,
>
> Code and .Sys are not in sink (Have you modified the code after you comiled it,Even a ENTER can make a difference).
>
> ajitabh
>
> Here is what I do to get the symbols file:
==
E:\> dumpbin /HEADERS busenum.sys
[shows “image base address” as 0x10000 in OPTIONAL HEADER VALUES]
E:\> rebase -B 0x10000 -X .\SYMBOLS busenum.sys
During the checked built, the PDB symbols are automatically generated by
the compiler.
Also set NTDEBUG=retail (I mean the environment variable) before running a
free build - this will eliminate any need in “rebase”.
Max