From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6465 invoked by alias); 22 Aug 2008 20:48:39 -0000 Received: (qmail 6456 invoked by uid 22791); 22 Aug 2008 20:48:38 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Aug 2008 20:47:59 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id D4469981EB; Fri, 22 Aug 2008 20:47:57 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 78EC6981EA; Fri, 22 Aug 2008 20:47:57 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KWdY4-0002P0-NE; Fri, 22 Aug 2008 16:47:56 -0400 Date: Mon, 25 Aug 2008 17:29:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: Stan Shebs , "gabe@blackfam.net" , "gdb@sourceware.org" Subject: Re: MSVC and DIA Message-ID: <20080822204756.GA9215@caradoc.them.org> Mail-Followup-To: Michael Snyder , Stan Shebs , "gabe@blackfam.net" , "gdb@sourceware.org" References: <8a15eb2b0808220949vffa9aaqe2c4c635857d83d7@mail.gmail.com> <48AEF67A.3000401@codesourcery.com> <48AF23F7.1060100@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48AF23F7.1060100@vmware.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00269.txt.bz2 On Fri, Aug 22, 2008 at 01:39:19PM -0700, Michael Snyder wrote: > I've heard a surprising number if inquiries of this sort recently, > folks wondering how they can use gdb to debug the output of > microsoft compilers. > > I'm not getting anything by googling for "pdb to elf", > "pdb to dwarf", or "microsoft to elf". Anybody think > of any more good search terms? There isn't one. The last time I looked at this I convinced myself that you need a different library (redistributable, but you need the headers from a .NET purchased VC++ to use it) to get the right information; but that may not be true. What Stan described is pretty much the way I'd do it. If you're feeling really fancy it might be possible to do so transparently to the rest of GDB. -- Daniel Jacobowitz CodeSourcery