From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27845 invoked by alias); 2 Jun 2011 16:26:02 -0000 Received: (qmail 27831 invoked by uid 22791); 2 Jun 2011 16:26:01 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Jun 2011 16:25:39 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p52GPcA5002997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 2 Jun 2011 12:25:38 -0400 Received: from host1.jankratochvil.net (ovpn-113-38.phx2.redhat.com [10.3.113.38]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p52GPaDZ002867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Jun 2011 12:25:37 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p52GPZAX014189; Thu, 2 Jun 2011 18:25:35 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p52GPYi4014171; Thu, 2 Jun 2011 18:25:34 +0200 Date: Thu, 02 Jun 2011 16:26:00 -0000 From: Jan Kratochvil To: Keith Seitz Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [rfc 2/2] Follow DW_AT_linkage_name for methods [Re: The future of dwarf2_physname] Message-ID: <20110602162533.GB28038@host1.jankratochvil.net> References: <4DD44983.7060406@redhat.com> <20110523131659.GA30344@host1.jankratochvil.net> <20110524212111.GB7747@host1.jankratochvil.net> <4DE68663.7070408@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DE68663.7070408@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00025.txt.bz2 On Wed, 01 Jun 2011 20:35:15 +0200, Keith Seitz wrote: > *** Using pre-physname: [...] > (gdb) b calltest(std::string) > Breakpoint 1 at 0x40075c: file 12266.cc, line 5. [...] > *** Using DW_AT_linkage_name (Jan's patches): [...] > (gdb) b calltest(std::string) > Function "calltest(std::string)" not defined. > Make breakpoint pending on future shared library load? (y or [n]) n [...] > *** Using 12266 patches (on top of Jan's DW_AT_linkage_name patches): [...] > (gdb) b calltest(std::string) > Note: breakpoint 1 also set at pc 0x40075c. > Breakpoint 2 at 0x40075c: file 12266.cc, line 5. [...] This is a regression by the physname patch which introduced DMGL_VERBOSE in symbol_find_demangled_name, some other patches of mine being posted are going to remove DMGL_VERBOSE there. Thanks, Jan