From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18163 invoked by alias); 10 Feb 2012 17:24:28 -0000 Received: (qmail 18153 invoked by uid 22791); 10 Feb 2012 17:24:27 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_FAIL X-Spam-Check-By: sourceware.org Received: from gbenson.demon.co.uk (HELO gbenson.demon.co.uk) (80.177.220.214) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Feb 2012 17:24:11 +0000 Date: Fri, 10 Feb 2012 17:24:00 -0000 From: Gary Benson To: Daniel Jacobowitz Cc: gdb@sourceware.org Subject: Re: GDB and the OpenJDK JVM Message-ID: <20120210172408.GC7788@redhat.com> Mail-Followup-To: Daniel Jacobowitz , gdb@sourceware.org References: <20120209161612.GA7088@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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/msg00031.txt.bz2 Daniel Jacobowitz wrote: > On Thu, Feb 9, 2012 at 11:16 AM, Gary Benson wrote: > > Daniel Jacobowitz wrote: > > > Has anyone investigated non-trivial integration between GDB and this > > > (or any other) JVM?  So far I haven't turned up anything useful.  Some > > > 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 > > >   without hiding SEGVs for native code > > > > I don't know of anybody who has done any work in this area.  I 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.  None 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? Probably this one: http://mail.openjdk.java.net/mailman/listinfo/hotspot-dev Cheers, Gary -- http://gbenson.net/