From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8468 invoked by alias); 23 Mar 2004 19:21:45 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8452 invoked from network); 23 Mar 2004 19:21:44 -0000 Received: from unknown (HELO hawaii.kealia.com) (209.3.10.89) by sources.redhat.com with SMTP; 23 Mar 2004 19:21:44 -0000 Received: by hawaii.kealia.com (Postfix, from userid 2049) id 766D1C6B7; Tue, 23 Mar 2004 11:21:44 -0800 (PST) To: Jeff Johnston Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC]: java inferior function call support References: <40608A03.1070808@redhat.com> From: David Carlton Date: Tue, 23 Mar 2004 19:21:00 -0000 In-Reply-To: <40608A03.1070808@redhat.com> (Jeff Johnston's message of "Tue, 23 Mar 2004 14:03:31 -0500") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-03/txt/msg00529.txt.bz2 On Tue, 23 Mar 2004 14:03:31 -0500, Jeff Johnston said: > There a few differences between Java and C++ that require handling. > First of all, the Java debug info for a member has a fully qualified > name including prototype. There is an open bugzilla bug against gcj > for this, however, I think some rethinking may be required. I'm not thrilled with fixing this in GDB instead of in GCJ. Including the fully qualified name means that, to get just the member name, we have to do some parsing, which we'd like to get away from. Treating Java differently from C++ increases the number of special cases in GDB; given the almost completely unmaintained state of the Java code in GDB, that makes me very nervous. (I don't supposed you're interesting in being a GDB Java maintainer?) Also, at least as far as the GCC Bugzilla report says, GCJ's debug info isn't consistent - sometimes it gives the fully qualified name, sometimes it just gives some sort of weird name which doesn't make sense at all. David Carlton carlton@kealia.com