From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12819 invoked by alias); 9 Feb 2012 20:47:17 -0000 Received: (qmail 12811 invoked by uid 22791); 9 Feb 2012 20:47:17 -0000 X-SWARE-Spam-Status: No, hits=-2.1 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-ey0-f169.google.com (HELO mail-ey0-f169.google.com) (209.85.215.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Feb 2012 20:47:04 +0000 Received: by eaag11 with SMTP id g11so735289eaa.0 for ; Thu, 09 Feb 2012 12:47:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.29.76 with SMTP id p12mr3810406ebc.127.1328820422845; Thu, 09 Feb 2012 12:47:02 -0800 (PST) Received: by 10.14.23.207 with HTTP; Thu, 9 Feb 2012 12:47:02 -0800 (PST) In-Reply-To: <1328818882.2213.9.camel@soleil> References: <20120209161612.GA7088@redhat.com> <1328818882.2213.9.camel@soleil> Date: Thu, 09 Feb 2012 20:47:00 -0000 Message-ID: Subject: Re: GDB and the OpenJDK JVM From: Daniel Jacobowitz To: Philippe Waroquiers Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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/msg00028.txt.bz2 On Thu, Feb 9, 2012 at 3:21 PM, Philippe Waroquiers wrote: > On google, the keywords 'java debugger interface' points at some > "standardised" documents (including a "wire protocol") aiming at > connecting a debugger to a JVM. That's something completely different - how to talk to the JVM for bytecode or source level debugging of the code running on the VM. I'm talking about debugging the underlying JVM in order to debug native code such as JNI. Now, it might be possible to simultaneously control the VM using ptrace and let enough of it free-run to speak JDWP to it. It would be a bit of a trick, though... I wouldn't even raise the idea if non-stop weren't so far along. -- Thanks, Daniel