From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6167 invoked by alias); 18 Sep 2004 00:12:22 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6153 invoked from network); 18 Sep 2004 00:12:20 -0000 Received: from unknown (HELO nwkea-mail-2.sun.com) (192.18.42.14) by sourceware.org with SMTP; 18 Sep 2004 00:12:20 -0000 Received: from sfbaymail2sca.sfbay.sun.com ([129.145.155.42]) by nwkea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id i8I0CI35009400; Fri, 17 Sep 2004 17:12:18 -0700 (PDT) Received: from kealia.sfbay.sun.com (kealia.SFBay.Sun.COM [129.144.80.16]) by sfbaymail2sca.sfbay.sun.com (8.12.10+Sun/8.12.10/ENSMAIL,v2.2) with ESMTP id i8I0CGcA028741; Fri, 17 Sep 2004 17:12:17 -0700 (PDT) Received: by kealia.sfbay.sun.com (Postfix, from userid 2049) id BDA1BCDFB; Fri, 17 Sep 2004 17:12:16 -0700 (PDT) To: Jim Blandy Cc: David.Carlton@sun.com, gdb@sources.redhat.com Subject: Re: Constructor names in the symbol table References: <20040917225550.GA12896@nevyn.them.org> From: David Carlton Date: Sat, 18 Sep 2004 00:12:00 -0000 In-Reply-To: <20040917225550.GA12896@nevyn.them.org> (Daniel Jacobowitz's message of "Fri, 17 Sep 2004 18:55:50 -0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Reasonable Discussion, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-09/txt/msg00153.txt.bz2 On Fri, 17 Sep 2004 18:55:50 -0400, Daniel Jacobowitz said: > On Fri, Sep 17, 2004 at 03:03:50PM -0500, Jim Blandy wrote: >> When I do something like set a breakpoint on S::S(int), I don't get >> a match from the full symbol table; instead, I get a match on the >> demangled names in the minimal symbol table. >> Is this the way it's supposed to work? I would have expected >> something in dwarf2read to have consulted processing_current_prefix >> and produced a qualified name for the full symbol. > I don't remember the details, but I believe this is part of the mess > caused by normally using mangled names. But since the constructor > is abstract, it doesn't have a mangled name. > Probably producing a fully qualified name, when we don't have a > linkage name, would work. I tend to agree. David Carlton david.carlton@sun.com