From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17184 invoked by alias); 9 Feb 2012 18:33:58 -0000 Received: (qmail 17166 invoked by uid 22791); 9 Feb 2012 18:33:57 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=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; Thu, 09 Feb 2012 18:33:44 +0000 Received: by eekc13 with SMTP id c13so720922eek.0 for ; Thu, 09 Feb 2012 10:33:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.32.5 with SMTP id a5mr1626416ebd.51.1328812423619; Thu, 09 Feb 2012 10:33:43 -0800 (PST) Received: by 10.14.23.207 with HTTP; Thu, 9 Feb 2012 10:33:43 -0800 (PST) In-Reply-To: <20120209161612.GA7088@redhat.com> References: <20120209161612.GA7088@redhat.com> Date: Thu, 09 Feb 2012 18:33:00 -0000 Message-ID: Subject: Re: GDB and the OpenJDK JVM From: Daniel Jacobowitz To: Daniel Jacobowitz , 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/msg00026.txt.bz2 On Thu, Feb 9, 2012 at 11:16 AM, Gary Benson wrote: > Hi Daniel, > > Daniel Jacobowitz wrote: >> Has anyone investigated non-trivial integration between GDB and this >> (or any other) JVM? =A0So far I haven't turned up anything useful. =A0So= me >> examples of the sorts of integration I mean: >> >> * Showing information about Java objects given JNI handles >> * Interleaving Java frames in the stack trace >> * Fabricating unwind information for JIT'd code >> * Automatically handling SEGVs related to the garbage collector >> =A0 without hiding SEGVs for native code > > I don't know of anybody who has done any work in this area. =A0I do know > that HotSpot has a number of functions designed solely to be called by > debuggers or debug code, and it's possible that #1 and #3 are covered > that way. =A0None of this stuff is documented anywhere I know of so it's > worth asking on one of the HotSpot lists in case somebody can help. Thanks! Is there a list you'd recommend? --=20 Thanks, Daniel