Article View: borland.public.cppbuilder.nativeapi
Article #3403Re: MAP File generation with line numbers
From: Ed Mulroy
Date: Tue, 20 Jun 2006 16:19
Date: Tue, 20 Jun 2006 16:19
47 lines
2903 bytes
2903 bytes
> ...There was another road to try out: bordebug.dll... I just looked and could not find a bordebug.dll. Where did you find it? > ... ever stared at binary data trying to grok its structure? ... Do I detect a Heinlein fan? . Ed > Helmut Giese wrote in message > news:4497e6bb.1714921@forums.borland.com... > > First I tried analyzing the .obj files. I had found some > documentation but it turned out to be insufficient. Basically > an .obj file consists of a suite of blocks which are structured > like this: > - 1 byte: key (what type of block) > - 2 bytes: size of data to follow > - n bytes of data > > So you hop along analysing the content of each block according > to its type. But invariably at some point the sequence seemed > broken. Well, it couldn't really be broken, because the linker > knows how to handle those .obj files, but the sequence didn't > make sense: > - you found an unknown type or > - the size was impossible (leading beyond the actual file size) > > So after a week of frustrating work (ever stared at binary data > trying to grok its structure?) I gave up. > > There was another road to try out: bordebug.dll. It contains > functions which know to analyse a .tds file - but be warned: it > is no joy to work with. > > But if anybody wants to go this route: Get a copy of Delphi > Magazine Issue 63. It contains an article "The return of the > giant" which presents a tool (in Delphi, of course) which uses > bordebug.dll to show you all kinds of information. The sources > are available online but the article _really_ helps. I strongly > suggest investing those 7 British Pounds to get a copy. > > But still a last warning: You should have an exceptional need > if you think you need this kind of information - something like > building your own debugger - otherwise the investment in time > is ridiculously large wrt to the actual gain.
Technical Details
Message-ID:
<44982031$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44968372$1@newsgroups.borland.com> <6epd92l60sbv5lhqe4i0mc2jud5v5fdapj@4ax.com> <4497e6bb.1714921@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a64749f92dc434a7 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Ed Mulroy" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <44968372$1@newsgroups.borland.com> <6epd92l60sbv5lhqe4i0mc2jud5v5fdapj@4ax.com> <4497e6bb.1714921@forums.borland.com> Subject: Re: MAP File generation with line numbers Date: Tue, 20 Jun 2006 12:19:55 -0400 Lines: 49 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 69.242.35.97 Message-ID: <44982031$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1150820401 69.242.35.97 (20 Jun 2006 09:20:01 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail