Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <008001c17278$6a129810$0200a8c0@lifelesswks> From: "Robert Collins" To: "Robert Collins" , "Corinna Vinschen" References: <1006263602006315 AT firemail DOT de> <20011120150524 DOT S14154 AT cygbert DOT vinschen DOT de> <00b201c17247$3d29d240$b90806c0 AT vipin> <20011121102910 DOT F21630 AT cygbert DOT vinschen DOT de> <003b01c17271$6ee225b0$0200a8c0 AT lifelesswks> Subject: Re: gdb trouble Date: Wed, 21 Nov 2001 21:36:43 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 21 Nov 2001 10:36:38.0818 (UTC) FILETIME=[66B9D020:01C17278] And some more that caught my eye: http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0399/hood/hood03 99.htm&nav=/msj/0399/newnav.htm Is an article about .dbg file formats - not written my MS, and includdes references to pdb. It also has a handy file cvinfo.h which is the header required to manipulate codeview 4 data. MSDN returns a hit on COFFTOCV.C which does what it says. http://www.winehq.com/hypermail/wine-patches/2001/08/0106.html based on the info from the above header! http://support.microsoft.com/support/kb/articles/q121/3/66.asp These folk appear to be able to generate Codeview data (which is what is in pdb files). http://www.digitalmars.com/faq.html and http://www.digitalmars.com/bibliography.html (see CV4) Wine has/had pdb partial support http://www.winehq.com/News/1999-49.html http://www.tbcnet.com/~clive/vcomwinp.html has a dumppe that understands codeview http://www.rdbooks.com/store/products/rd2364.htm is an old book - maybe there is a newer version with CV4 info? http://www.wotsit.org/ is a useful site on file formats - nothing there, but if you ask, maybe they know where to find it. Codeview is also known as CV4 - a earch on that might help. MSDN spat out this: http://support.microsoft.com/support/kb/articles/Q194/9/21.ASP which has some partial info on the Codeview format. http://www.jorgon.freeserve.co.uk/GobugHelp/Symbolic.htm isn't really helpful, butmay be of interest Lastly, MSDN CD roms do have the Specification (CV5.0 Symbolic Debug Information) But I'm afraid to open it :]. Perhaps someone you know can create a clean room spec for you. Rob === ----- Original Message ----- From: "Robert Collins" To: "Corinna Vinschen" Sent: Wednesday, November 21, 2001 8:46 PM Subject: Re: gdb trouble > Some related articles: > > http://support.microsoft.com/support/kb/articles/Q182/0/43.ASP > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwbgen > /html/msdn_peeringpe.asp > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/d > bghelp_0l0n.asp?frame=true > > To me it looks like there are 2 options. > 1) add the user of the symbol handling library to gdb. That should allow > pdb use. > 2) Using the symbol handling library, and (say) VC++, generate test > exe's with .pdb and reverse engineer the format. Once done, use the > resulting library in gdb. > > Rob > > > === > ----- Original Message ----- > From: "Corinna Vinschen" > To: "cygwin" > Sent: Wednesday, November 21, 2001 8:29 PM > Subject: Re: gdb trouble > > > > On Wed, Nov 21, 2001 at 10:14:43AM +0530, vipin aravind wrote: > > > I had been using softice debugger on windows which is from > > > mega( and it understands pdb format) and how do they know > the > > > format? > > > I think it would be documented. > > > > Sure. Somewhere. Under NDA, I assume. > > > > Corinna > > > > -- > > Corinna Vinschen Please, send mails regarding Cygwin > to > > Cygwin Developer > mailto:cygwin AT cygwin DOT com > > Red Hat, Inc. > > > > -- > > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > Bug reporting: http://cygwin.com/bugs.html > > Documentation: http://cygwin.com/docs.html > > FAQ: http://cygwin.com/faq/ > > > > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/