From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28189 invoked by alias); 9 Jun 2004 14:13:01 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28049 invoked from network); 9 Jun 2004 14:12:58 -0000 Received: from unknown (HELO ylpvm29.prodigy.net) (207.115.57.60) by sourceware.org with SMTP; 9 Jun 2004 14:12:58 -0000 Received: from bothner.com (adsl-216-102-199-253.dsl.snfc21.pacbell.net [216.102.199.253]) by ylpvm29.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id i59ECsEC001999; Wed, 9 Jun 2004 10:12:55 -0400 Message-ID: <40C71AEB.4070802@bothner.com> Date: Wed, 09 Jun 2004 14:13:00 -0000 From: Per Bothner User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20040218 MIME-Version: 1.0 To: Andrew Haley CC: java@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: Binary Compatibility: debug info for compiled Java programs References: <16582.65277.81118.189889@cuddles.cambridge.redhat.com> In-Reply-To: <16582.65277.81118.189889@cuddles.cambridge.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-06/txt/msg00064.txt.bz2 Andrew Haley wrote: > Bryce pointed out that there is another solution that he favours, > which involves gdb reading libgcj's metadata. There is already (somewhat bit-rotted) code to do this - but of course for the old ABI. Note that we need a solution that also handles dynamically-loaded interpreted or (future) jit-compiled classes. That argues for having gdb reading meta-data from the interior. > Both solutions require gdb changes: to generate DWARF data at runtime > requires some changes because gdb is used to reading debug data from > object files, not from the inferior process. The Java support in gdb can sort-of do either. -- --Per Bothner per@bothner.com http://per.bothner.com/