From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13922 invoked by alias); 8 Apr 2005 16:47:46 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 13866 invoked from network); 8 Apr 2005 16:47:36 -0000 Received: from unknown (HELO po2.wam.umd.edu) (128.8.10.164) by sourceware.org with SMTP; 8 Apr 2005 16:47:36 -0000 Received: from teqdruid.student.umd.edu (teqdruid.student.umd.edu [129.2.222.235]) by po2.wam.umd.edu (8.12.10/8.12.10) with ESMTP id j38GlZKx022533 for ; Fri, 8 Apr 2005 12:47:35 -0400 (EDT) Subject: Re: D Symbol Demangling From: John Demme To: gdb-patches@sources.redhat.com In-Reply-To: <4251CF00.5080002@redhat.com> References: <1112582221.14153.32.camel@localhost.localdomain> <425185A9.8090104@redhat.com> <1112647505.14153.46.camel@localhost.localdomain> <4251B646.7010801@redhat.com> <1112654359.14153.50.camel@localhost.localdomain> <4251CF00.5080002@redhat.com> Content-Type: text/plain Date: Fri, 08 Apr 2005 16:47:00 -0000 Message-Id: <1112978871.32374.45.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-04/txt/msg00070.txt.bz2 I finally had time to play firefighter, and I found the fire as well. If you compile a D application without DWARF2 information, my gdb patches work just fine... how do ya like that? Now I REALLY have an excuse to yell at the compiler programmer. I don't really understand why bad DWARF2 information would screw up GDB like that, considering that I call my function at the point where GDB tries to demangle a symbol, but I don't really understand how GDB works. Thanks for your help... Expect to hear more from me in the future concerning this. BTW... assuming I can get a decent patch together to bring D support to GDB, would it stand a good chance of being put in the main GDB tree? Thanks again, John Demme On Mon, 2005-04-04 at 16:34 -0700, Michael Snyder wrote: > John Demme wrote: > > In fact, the DWARF2 > > information that it generates it total crap, as in just plain wrong in > > some/most cases. > > Well, there's your smoke... > >