Oliver:
I’m also sorry for the late reply.
That book is the only source of information I know on the subject. The part on PDB’s is the only part of the book that I have read,
but I found it very helpful and still for the most part accurate. It’s been a little over three years since I’ve done anything with
this, but between this book and more than a little time in spent in a good hex editor, it’s very doable to reverse the whole thing
sufficiently to get the symbol and type information out of it.
As far as the header part, I’m confused. The basic answer is that the debug directory RVA will point you to a CV_NB10 header which
that book describes, the last member of which is the pdb name (\0), but I don’t understand what you’re going to do with this
information. If you mean take a TDS, point the exe header to it, write and extension and then have WinDbg handle the rest - i. e. -
replace the symbol handler, in effect - I seriously doubt that this will work, but I really don’t know. The only thing that I’ve
seen along these lines is under ‘Synthetic Symbols’ in the WinDbg documentation, I think. That’s the best I have; sorry.
I guess what I had in my mind was writing a program to convert a TDS file to a MAP file (I think that there is something out there
that already does this), and then use sdbgext to handle the MAP, which I think would work, not that I’ve ever tried any of this.
Am I missing something?
Good luck,
mm
Oliver Schneider wrote:
Thanks, Martin. Also thanks to the other people who replied.
I think this will do it.
Any idea for the part of storing the name of the debug symbol file in the header? Does that even work with anything but PDB files. MS seems to be very secretive about PDB. However, Sven B. Schneider has described some details about that stuff - with source - in his book about “Undocumented Windows 2000 Secrets”, although the name already suggests that this could be a bit outdated 
// Oliver
PS: Sorry for the laten reply.
-------- Original-Nachricht --------
> Datum: Tue, 22 Apr 2008 09:15:32 -0400
> Von: Martin O'Brien
>> An: “Kernel Debugging Interest List”
>> Betreff: Re:[windbg] TDS and/or MAP files in WinDbg?
>
>> I think that a MAP file would work. You might want to look at sdbgext by
>> Skywing.
>>
>> Good luck,
>>
>> mm
>>
>> Oliver Schneider wrote:
>>> Hi,
>>>
>>> is it possible to use TDS (i.e. Borland’s Turbo Debugger Symbol) files
>> in WinDbg? If not, is there a way to convert the symbols to PDBs?
>>> Although it is not specifically kernel-related, it’s related to WinDbg.
>>>
>>> Alternately, would it be possible to write a debugger extension that is
>> able to find (TDS) symbols if you put the respective information into the
>> binary (similarly to the info about the PDB)?
>>
>> And if so, could such an extension be used in order to handle TDS files
>> instead of PDB files and otherwise offer the symbols in a
>> way compatible to any debugger commands using/displaying symbols
>>
>> here and there?
>>>
>>> Thanks,
>>>
>>> // Oliver
>> —
>> You are currently subscribed to windbg as: xxxxx@gmxpro.net
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>