From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20068 invoked by alias); 15 Jan 2013 17:22:06 -0000 Received: (qmail 20053 invoked by uid 22791); 15 Jan 2013 17:22:05 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Tue, 15 Jan 2013 17:22:00 +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 r0FHLrma011461 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 15 Jan 2013 12:21:54 -0500 Received: from host2.jankratochvil.net (ovpn-116-19.ams2.redhat.com [10.36.116.19]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r0FHLn6R030251 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 15 Jan 2013 12:21:52 -0500 Date: Tue, 15 Jan 2013 17:22:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: RFC: fix PR 12707 Message-ID: <20130115172149.GA21127@host2.jankratochvil.net> References: <87r4lno936.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87r4lno936.fsf@fleche.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: 2013-01/txt/msg00315.txt.bz2 On Mon, 14 Jan 2013 20:31:09 +0100, Tom Tromey wrote: > Second, I had to change cmpd-minsyms.exp to account for the symtab.c > change, which in turn was required to align symbol_find_demangled_name > with what dwarf2read.c is doing. Yes, this is a problem I faced when thinking about fixing this issue: $ nm -C gdb.cp/cmpd-minsyms 000000000040067d W int GDB::even_harder(char) FSF GDB: (gdb) b int GDB::even_harder(char) Breakpoint 1 at 0x400681 patched GDB: (gdb) b int GDB::even_harder(char) Function "int GDB::even_harder(char)" not defined. Make breakpoint pending on future shared library load? (y or [n]) (The ticks ' do not help it.) I find "int GDB::even_harder(char)" to be a valid (or at least also valid) demangled name for that function so I believe GDB should know that name. Thanks, Jan