Inserting my own symbols into Symbol Server cache

Hi, all

If I configure the Symbol server and it downloads something,
there are subdirectories with the driver PDB name,
with subdirectories with timestamp (or something like this).

Does anyone know if is possible to insert the symbols
of my driver into the Symbol server local storage ?
The second question is - what is the subdir under
(e.g.) ntoskrnl.pdb, like “4047DB831a5540” ?

Is it a hash, or a timestamp ?
Is there any tool to get the timestamp from my driver
in the format of the hexa sring which WinDbg needs ?

It would be great to have symbols for all versions
of my driver under the common symbol storage
and make WinDbg to get the right symbols.

L.

Ladislav

I dont know if this is what you are looking for …

We use symstore.exe /add to add symbols for our drivers to our symbol store
and use a symbol file path like this …

srv*\\symbols\websymbols*http://msdl.microsoft.com/download/symbols;srv*\\\symbols\localsymbols

… in windbag.

Cheers
Lyndon

“Ladislav Zezula” wrote in message news:xxxxx@windbg…
> Hi, all
>
> If I configure the Symbol server and it downloads something,
> there are subdirectories with the driver PDB name,
> with subdirectories with timestamp (or something like this).
>
> Does anyone know if is possible to insert the symbols
> of my driver into the Symbol server local storage ?
> The second question is - what is the subdir under
> (e.g.) ntoskrnl.pdb, like “4047DB831a5540” ?
>
> Is it a hash, or a timestamp ?
> Is there any tool to get the timestamp from my driver
> in the format of the hexa sring which WinDbg needs ?
>
> It would be great to have symbols for all versions
> of my driver under the common symbol storage
> and make WinDbg to get the right symbols.
>
> L.
>
>

Thank you, Lyndon, very much. This is exactly what I’ve
looked for.

L.

Ladislav

Okay so the “exact” command we use is like this

symstore.exe add /f mydriver.pdb /s symsrv /t mydriver

where mydriver is the name of my driver and mydriver.pdb is the path of the
pdb file for my driver.

Cheers
Lyndon

“Ladislav Zezula” wrote in message news:xxxxx@windbg…
> Thank you, Lyndon, very much. This is exactly what I’ve
> looked for.
>
> L.
>

Thank you, I already figured it out from the command line help.
I only wonder why is the last parameter (/t something)
good for, it seems that is does not appear anywhere.
If you write

symstore.exe add /f mydriver.pdb /s symsrv /t Huhuhu

it does not affect anything, because the PDB file is copied
as-is, as well as the binary file (Driver.sys)

L.