Senthil
Tue Jan 15 22:18:31 CST 2008
On Jan 15, 4:31=A0pm, "Maxim S. Shatskih" <ma...@storagecraft.com>
wrote:
> =A0 =A0 Put PDB to some directory, and ensure it is in the WinDbg's symbol=
path.
>
> =A0 =A0 Then do:
>
> =A0 =A0 =A0 =A0 .reload /f mydriver.sys
> =A0 =A0 =A0 =A0 x mydriver!*
>
> =A0 =A0 the latter should print all symbols.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> ma...@storagecraft.com
http://www.storagecraft.com
>
> "Senthil" <eced...@gmail.com> wrote in message
>
> news:9213ef19-7465-4d2f-a4fe-559b4c5798a8@k2g2000hse.googlegroups.com...
>
>
>
> > Hi ,
>
> > I am trying to debug the PCI sample available in the DDK using windbg.
> > I am not able to map the symbol file the >pdb file for this.
> > Please let me know how I can proceed with this.
>
> > Regards,
> > Senthil.- Hide quoted text -
>
> - Show quoted text -
Hi Maxim ,
Thanks for the reply.
I have copied the contents of the .sys and pdb file from \WinDDK
\6000\src\kmdf\pcidrv\sys\hw\objchk_wxp_x86\i386 to D:/PCI.
and here is the result when I try to do the steps
kd> .sympath
Symbol search path is: SRV*d:\DebugSymbols*
http://msdl.microsoft.com/
download/symbols;d:\PCI
kd> .reload /f PCIDRV.sys
"PCIDRV.sys" was not found in the image list.
Debugger will attempt to load "PCIDRV.sys" at given base 00000000.
Please provide the full image name, including the extension (i.e.
kernel32.dll)
for more reliable results.Base address and size overrides can be given
as
=2Ereload <image.ext>=3D<base>,<size>.
DBGENG: PCIDRV.sys - Partial symbol image load missing image info
DBGHELP: No header for PCIDRV.sys. Searching for dbg file
DBGHELP: d:\PCI\PCIDRV.dbg - file not found
DBGHELP: d:\PCI\sys\PCIDRV.dbg - path not found
DBGHELP: d:\PCI\symbols\sys\PCIDRV.dbg - path not found
DBGHELP: .\PCIDRV.dbg - file not found
DBGHELP: .\sys\PCIDRV.dbg - path not found
DBGHELP: .\symbols\sys\PCIDRV.dbg - path not found
DBGHELP: PCIDRV.sys missing debug info. Searching for pdb anyway
DBGHELP: Can't use symbol server for PCIDRV.pdb - no header
information available
DBGHELP: PCIDRV - private symbols & lines
d:\PCI\PCIDRV.pdb - unmatched
Unable to add module at 00000000
I dont have an dbg file in this folder.
Regards,
Senthil.