From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13586 invoked by alias); 20 Dec 2007 09:32:02 -0000 Received: (qmail 13561 invoked by uid 22791); 20 Dec 2007 09:31:57 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 20 Dec 2007 09:31:53 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id lBK9Vpl4023238 for ; Thu, 20 Dec 2007 04:31:51 -0500 Received: from zebedee.littlepinkcloud.COM (vpn-14-99.rdu.redhat.com [10.11.14.99]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBK9VoNX027550; Thu, 20 Dec 2007 04:31:50 -0500 Received: from littlepinkcloud.COM (localhost.localdomain [127.0.0.1]) by zebedee.littlepinkcloud.COM (8.13.8/8.13.5) with ESMTP id lBK9VnFu026421; Thu, 20 Dec 2007 09:31:49 GMT Received: (from aph@localhost) by littlepinkcloud.COM (8.13.8/8.13.5/Submit) id lBK9VmDR026418; Thu, 20 Dec 2007 09:31:48 GMT MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18282.13956.454306.676164@zebedee.pink> Date: Thu, 20 Dec 2007 14:24:00 -0000 From: Andrew Haley To: Alexandre Oliva Cc: Daniel Jacobowitz , gcc@gcc.gnu.org Subject: Re: Strange error message from gdb In-Reply-To: References: <18281.21294.238761.442229@zebedee.pink> <20071219172943.GA5939@caradoc.them.org> <18281.23234.151870.816362@zebedee.pink> <20071219185517.GA10986@caradoc.them.org> <18281.27225.249982.220171@zebedee.pink> X-Mailer: VM 7.19 under Emacs 22.0.93.1 X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00626.txt.bz2 Alexandre Oliva writes: > On Dec 19, 2007, Andrew Haley wrote: > > > Right, so read_type_die() doesn't know how to handle > > DW_TAG_interface_type. The weird thing is that I have never seen > > this error mesage before today, and AFAIAA gcj has been > > generating these interface types for a long while. > > For very small values of "long while" :-) > > This was added by: > > 2007-12-15 Alexandre Oliva > > PR debug/7081 > * lang.c (java_classify_record): New. > (LANG_HOOKS_CLASSIFY_RECORD): Override. Yeah, I discovered this today. Because your patch hadn't been flagged as affecting Java and no Java maintainer approved it, I hadn't noticed. > Sorry, I didn't check whether GDB or other debug information > consumers supported this tag. I just ASSumed they did, given how > long they've been specified (today Dwarf 3 turns 2 :-) and how > noisy a failure would be should one run into such a tag without > supporting it. Well, that was a bad thing to do. > What now, revert until GDB et al are fixed, or leave it in, for > it's the right thing to do, and it serves as an additional > incentive for debug information consumers to support new Dwarf 3 > features? Please revert it, right now. It is impossible for anyone to debug gcj code at the moment. Once gdb support is in and widely distributed, then we can change gcc. Realistically, at least a year or two. Andrew. -- Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK Registered in England and Wales No. 3798903