From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29357 invoked by alias); 31 May 2012 21:05:36 -0000 Received: (qmail 29348 invoked by uid 22791); 31 May 2012 21:05:35 -0000 X-SWARE-Spam-Status: No, hits=-5.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-lpp01m010-f41.google.com (HELO mail-lpp01m010-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 31 May 2012 21:05:21 +0000 Received: by lahi5 with SMTP id i5so1269912lah.0 for ; Thu, 31 May 2012 14:05:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=pgpsrKlV8vYmxfK3G+tO3Pfi9Gn8QRMRjJSLB5KD+I8=; b=iOVoI5TVGv/l2K5gM2c39QHGe6uU5kdbMtW+fwOvtyDlREUkZ/wX420jIZnF4Qq3lP A+U/IHWbdUZu8vSRncjxe5QRkMFedH/fKzBEkMxfN2bJbmWFGc9XVdvhhriALszVaQeY rCLAXag2gc0/9w3vR/AuUya3WnONH9af9cyVxrctYu5vuFV/gjYzgSSl36Rd3DZ/g8m6 Rj0ZfFoFsOf2RzYR3DORrksgL21UeYuUGn1C3ZYk8eXrfPDu0SmP1yxjNj/qAjpz9vlW itDfwI3XBttqeqxnHuo4FLAvEJUn5WTv+88srH4Ekm4kGEP5Bc8ytqjpx1febx3/ova0 QBQQ== MIME-Version: 1.0 Received: by 10.112.48.169 with SMTP id m9mr655693lbn.93.1338498319368; Thu, 31 May 2012 14:05:19 -0700 (PDT) Received: by 10.152.19.36 with HTTP; Thu, 31 May 2012 14:05:19 -0700 (PDT) In-Reply-To: <4FC66342.5080709@redhat.com> References: <87396o72f3.fsf@fleche.redhat.com> <87obpc3rej.fsf@fleche.redhat.com> <4FC66342.5080709@redhat.com> Date: Thu, 31 May 2012 21:05:00 -0000 Message-ID: Subject: Re: Hotspot JVM GDBJIT plugin From: Kaushik Srenevasan To: Phil Muldoon Cc: Tom Tromey , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlhVXYdKIdFf9zMVE7IH3ojVWy0GzPeksh9rEhaRqsDL0T21EUtv/0thNQM7wBLSH9cl+yb 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-05/txt/msg00158.txt.bz2 On Wed, May 30, 2012 at 11:13 AM, Phil Muldoon wrote: >> >> The Python feature is really just about massaging the display of frames >> already found by gdb. At least in the first revision there won't be a >> way to hook into the unwinding process. We haven't even really >> discussed letting people write unwinders in Python; I guess it could be >> done. >> > > The field substitution stuff is all there, I am currently working on > the "elide" API which allows you to merge frames. As for trunk, I > intend to submit it for review at the end of next week if I can. Then > it is a matter of the usual review process after that. > Tom, Phil, Thanks for the update. While it does seem like there is overlap, I believe it'd be easier to implement both unwinding and symbol resolution for frames in the same plugin - which could be the reader or a python script. So, I'll go ahead and submit the frame based symbol handler code I have for review. -Kaushik