I am trying to add symbols to the symbol store like this:
C:>symstore add /r /f “C:\Share\4.1.2.9\free\mydriver.pdb” /s c:\Symbols /t
“My Driver” /v “Version 4.1.2.9”
Finding ID… 0000000002
SYMSTORE: Number of files stored = 1
SYMSTORE: Number of errors = 0
SYMSTORE: Number of files ignored = 0
This succeeds and I see it in the store:
C:\Symbols>dir /S mydriver.pdb
Volume in drive C has no label.
Volume Serial Number is DC91-F8CE
Directory of C:\Symbols\mydriver.pdb
08/19/2004 06:56p
.08/19/2004 06:56p ..
08/19/2004 06:56p 4118B3D51
0 File(s) 0 bytes
Directory of C:\Symbols\mydriver.pdb\4118B3D51
08/19/2004 06:56p .
08/19/2004 06:56p ..
08/19/2004 06:34p 115,712 mydriver.pdb
08/19/2004 06:56p 72 refs.ptr
2 File(s) 115,784 bytes
Total Files Listed:
2 File(s) 115,784 bytes
5 Dir(s) 4,979,998,208 bytes free
In WinDbg, I verify the sys file timestamp as:
kd> lm t v
start end module name
..........
..........
f8552000 f858d220 mydriver
Loaded symbol image file: mydriver.sys
Image path: mydriver.sys
Image name: mydriver.sys
Timestamp: Tue Aug 10 17:09:01 2004 (4118B3D5)
CheckSum: 0004CD57
ImageSize: 0003B220
Translations: 0000.04b0 0000.04e0 0409.04b0 0409.04e0
...........
...........
Now in WinDbg, I have symbol path set as:
kd> .sympath
Symbol search path is:
srv*c:\symbols*http://msdl.microsoft.com/download/symbols
However, debugger still complains it can't find the symbols for mydriver
when I try to debug. See below:
kd> !sym noisy
noisy mode - symbol prompts on
kd> .reload /f
..............
..............
SYMSRV: c:\symbols\mydriver.sys\4118B3D53b220\mydriver.sys not found
SYMSRV:
http://msdl.microsoft.com/download/symbols/mydriver.sys/4118B3D53b220/mydriv
er.sys not found
DBGHELP: C:\Program Files-AS\Debugging Tools for Windows\mydriver.sys - file
not found
DBGENG: mydriver.sys - Image mapping disallowed by non-local path.
DBGHELP: No debug info for mydriver.sys. Searching for dbg file
SYMSRV: c:\symbols\mydriver.dbg\4118B3D53b220\mydriver.dbg not found
SYMSRV:
http://msdl.microsoft.com/download/symbols/mydriver.dbg/4118B3D53b220/mydriv
er.dbg not found
DBGHELP: .\mydriver.dbg - file not found
DBGHELP: .\symbols\sys\mydriver.dbg - path not found
DBGHELP: .\sys\mydriver.dbg - path not found
DBGHELP: mydriver.sys missing debug info. Searching for pdb anyway
DBGHELP: Can't use symbol server for mydriver.pdb - no header information
available
DBGHELP: mydriver.pdb - file not found
*** ERROR: Module load completed but symbols could not be loaded for
mydriver.sys
DBGHELP: mydriver - no symbols loaded
.................
.................
Here is the trouble, WinDbg seems to look for the PDB file in a directory
which is like , however symstore command puts it in
directory.
Any idea how to set this right?
TIA,
Bandeep