From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6582 invoked by alias); 9 Feb 2012 16:16:55 -0000 Received: (qmail 6560 invoked by uid 22791); 9 Feb 2012 16:16:49 -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; Thu, 09 Feb 2012 16:16:15 +0000 Date: Thu, 09 Feb 2012 16:16:00 -0000 From: Gary Benson To: Daniel Jacobowitz Cc: gdb@sourceware.org Subject: Re: GDB and the OpenJDK JVM Message-ID: <20120209161612.GA7088@redhat.com> Mail-Followup-To: Daniel Jacobowitz , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/msg00025.txt.bz2 Hi Daniel, 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. Cheers, Gary -- http://gbenson.net/