From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28939 invoked by alias); 23 Mar 2010 20:25:03 -0000 Received: (qmail 28928 invoked by uid 22791); 23 Mar 2010 20:25:02 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.17.164) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Mar 2010 20:24:57 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.1/8.13.1) with ESMTP id o2NKOsxZ003472 for ; Tue, 23 Mar 2010 20:24:54 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o2NKOs5M1724510 for ; Tue, 23 Mar 2010 21:24:54 +0100 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o2NKOrWx019789 for ; Tue, 23 Mar 2010 21:24:54 +0100 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id o2NKOqIZ019784; Tue, 23 Mar 2010 21:24:52 +0100 Message-Id: <201003232024.o2NKOqIZ019784@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Tue, 23 Mar 2010 21:24:52 +0100 Subject: Re: [RFA] dwarf2_physname FINAL To: keiths@redhat.com (Keith Seitz) Date: Tue, 23 Mar 2010 20:25:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <4B903926.7070303@redhat.com> from "Keith Seitz" at Mar 04, 2010 02:50:14 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2010-03/txt/msg00796.txt.bz2 Keith Seitz wrote: > There is an apparent regression in jprint.exp. Printing static class > variables (java only) is "broken." This is a gcc bug (gcc/43260): we > don't get any location info from gcc about where the static variable > lives, so we report it as "optimized out." NOTE: This "works" on CVS > HEAD because we fallback to using the linkage name (from > DW_AT_MIPS_linkage_name) to search the minimal symbol table, using that > to grab the address of the variable. Obviously we won't be able to do > that any more. Would it be possible to KFAIL that? I'm also seeing a second Java-related regression: FAIL: gdb.java/jmisc.exp: ptype jmisc This is because "ptype jmisc" now shows: type = class jmisc extends java.lang.Object { void main(java.lang.String[])void; void (void)void; } instead of type = class jmisc extends java.lang.Object { void main(java.lang.String[])void; jmisc(); } This is apparently caused by Java using DW_AT_MIPS_linkage_name to hide the magic name for the constructor: <2><223>: Abbrev Number: 6 (DW_TAG_subprogram) DW_AT_external : 1 DW_AT_name : DW_AT_MIPS_linkage_name: _ZN5jmiscC1Ev DW_AT_artificial : 1 DW_AT_declaration : 1 Is this to be expected? Or should this be handled by the new code somewhere? Also, I'm now seeing three failures in the new cpexprs.exp: FAIL: gdb.cp/cpexprs.exp: list base::overload(void) FAIL: gdb.cp/cpexprs.exp: setting breakpoint at base::overload(void) FAIL: gdb.cp/cpexprs.exp: continue to base::overload(void) apparently related to whether "const" needs to be specified when identifying an overloaded method. I seem to recall some reference to this problem in one of the dwarf2_physname threads -- is this still an expected problem with the final patch? This is all on a RHEL5.4 with the system GCC 4.1. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com