From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3186 invoked by alias); 13 Feb 2012 19:39:39 -0000 Received: (qmail 3176 invoked by uid 22791); 13 Feb 2012 19:39:39 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ee0-f41.google.com (HELO mail-ee0-f41.google.com) (74.125.83.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Feb 2012 19:39:25 +0000 Received: by eekc13 with SMTP id c13so2088759eek.0 for ; Mon, 13 Feb 2012 11:39:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.38.208 with SMTP id a56mr5605394eeb.53.1329161964307; Mon, 13 Feb 2012 11:39:24 -0800 (PST) Received: by 10.14.181.194 with HTTP; Mon, 13 Feb 2012 11:39:24 -0800 (PST) In-Reply-To: <87ty2ulfyp.fsf@fleche.redhat.com> References: <1329124283.2783.15.camel@springer.wildebeest.org> <87ty2ulfyp.fsf@fleche.redhat.com> Date: Mon, 13 Feb 2012 19:39:00 -0000 Message-ID: Subject: Re: GDB and the OpenJDK JVM From: Daniel Jacobowitz To: Tom Tromey Cc: Mark Wielaard , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00038.txt.bz2 On Mon, Feb 13, 2012 at 1:56 PM, Tom Tromey wrote: >>>>>> "Daniel" =3D=3D Daniel Jacobowitz writes: > > Daniel> I'll do it if I have to, but I'd rather rely on the symbol table > Daniel> of the JDK and manually maintained code. > > The new JIT API in gdb may be what you want. =A0You can write a .so that > ships with the JDK that knows about JDK internals, but that plugs into > gdb. =A0It doesn't expose everything, but I think would be sufficient for > unwinding. Neat! I was going to say "no, the JIT API is too limited" but I'm glad I looked first :-) It looks like there's no NEWS entry for Sanjoy's work, so I missed it the first time. I wonder if this API could be implemented in Python... --=20 Thanks, Daniel