From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6584 invoked by alias); 23 Jun 2004 16:08:09 -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 6492 invoked from network); 23 Jun 2004 16:08:06 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 23 Jun 2004 16:08:06 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BdAI9-0008S7-Ro; Wed, 23 Jun 2004 12:08:05 -0400 Date: Wed, 23 Jun 2004 16:08:00 -0000 From: Daniel Jacobowitz To: Andrew Haley Cc: Jeff Johnston , gdb-patches@sources.redhat.com Subject: Re: [RFA]: Java Inferior Call Take 2 Message-ID: <20040623160805.GA32457@nevyn.them.org> Mail-Followup-To: Andrew Haley , Jeff Johnston , gdb-patches@sources.redhat.com References: <40A9264C.4060404@redhat.com> <20040617030603.GC23443@nevyn.them.org> <40D20494.2020608@redhat.com> <20040619235857.GA18759@nevyn.them.org> <16598.64375.217285.743094@cuddles.cambridge.redhat.com> <16601.25623.949217.642524@cuddles.cambridge.redhat.com> <20040623134742.GA24612@nevyn.them.org> <16601.43621.899821.519555@cuddles.cambridge.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16601.43621.899821.519555@cuddles.cambridge.redhat.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-06/txt/msg00504.txt.bz2 On Wed, Jun 23, 2004 at 05:05:57PM +0100, Andrew Haley wrote: > Daniel Jacobowitz writes: > > The other question: I looked at fixing the debug info to print field > > names correctly. The reason it's wrong is that dwarf2out uses the > > decl_printable_name langhook. Java doesn't use the second argument, > > which the common code assumes is verbosity. Common code always passes > > '2', which matches what Java's does, except in three places: mudflap > > (???), the C tree pretty printer, and this call in dwarf2out used to > > set the name of decls. Java mostly passes 0 since it knows the value > > is ignored. Any reason not to fix up the Java frontend to pass 2, > > extend the function to handle smaller values, and thus correct the > > debug output? > > Yes, I can do that. Great - it'll probably take you a lot less time than it would take me :) If you can take care of this, I'll make sure GDB still behaves correctly. -- Daniel Jacobowitz