From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9244 invoked by alias); 9 Jun 2004 13:19:27 -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 8775 invoked from network); 9 Jun 2004 13:18:55 -0000 Received: from unknown (HELO cuddles.cambridge.redhat.com) (81.96.64.123) by sourceware.org with SMTP; 9 Jun 2004 13:18:55 -0000 Received: from redhat.com (localhost.localdomain [127.0.0.1]) by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id i59DGjVL016118; Wed, 9 Jun 2004 14:16:55 +0100 Received: (from aph@localhost) by redhat.com (8.12.8/8.12.8/Submit) id i59DGiCo016114; Wed, 9 Jun 2004 14:16:44 +0100 From: Andrew Haley MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16583.3516.604885.805420@cuddles.cambridge.redhat.com> Date: Wed, 09 Jun 2004 13:19:00 -0000 To: Daniel Jacobowitz Cc: java@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: Binary Compatibility: debug info for compiled Java programs In-Reply-To: <20040609130859.GA7514@nevyn.them.org> References: <16582.65277.81118.189889@cuddles.cambridge.redhat.com> <20040609130859.GA7514@nevyn.them.org> X-SW-Source: 2004-06/txt/msg00061.txt.bz2 Daniel Jacobowitz writes: > > I'm not familiar with the BC ABI (and missed the talk); could you give > me an example of what information you have at compile time and what you > generate at runtime? All structures are laid out at runtime. http://people.redhat.com/lockhart/.gcc04/MasterGCC-2side.pdf Page 169. > I suspect that a fourth solution is possible: gcj generating DWARF > which describes how to read the metadata. It may not be very > efficient, though, and it will still require a certain amount of > playing with GDB. Yeah, that was suggested as well. I forgot to mention it. I don't know if this is possible in DWARF data: don't member offsets have to be constants? I must admit I like this idea least of all! Maybe I subconsciously suppressed the memory. Andrew.