From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2841 invoked by alias); 4 Apr 2005 18:21:34 -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 2778 invoked from network); 4 Apr 2005 18:21:31 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 4 Apr 2005 18:21:31 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j34ILVgo013052 for ; Mon, 4 Apr 2005 14:21:31 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j34ILVO28483; Mon, 4 Apr 2005 14:21:31 -0400 Received: from redhat.com (dhcp-172-16-25-137.sfbay.redhat.com [172.16.25.137]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id j34ILTKi013411; Mon, 4 Apr 2005 14:21:29 -0400 Message-ID: <425185A9.8090104@redhat.com> Date: Mon, 04 Apr 2005 18:21:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924 MIME-Version: 1.0 To: John Demme CC: gdb-patches@sources.redhat.com Subject: Re: D Symbol Demangling References: <1112582221.14153.32.camel@localhost.localdomain> In-Reply-To: <1112582221.14153.32.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-04/txt/msg00044.txt.bz2 John Demme wrote: > Thus far, I've had partial success. In fairly simple D programs, my > demangling works, but in more complex programs with mixed C and D code > (D is link-compatible with C) it only calls the D demangler for some of > the functions. What's the granularity of mixed code? Is it mixed within a source file, or just between source files? If a source file contains only one language, I think gdb ought to be able to discern it reliably. When you say "for some of the functions", what differentiates the ones where it successfully discerns the D language from those where it doesn't?