From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1891 invoked by alias); 25 May 2012 19:50:59 -0000 Received: (qmail 1883 invoked by uid 22791); 25 May 2012 19:50:58 -0000 X-SWARE-Spam-Status: No, hits=-5.5 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; Fri, 25 May 2012 19:50:44 +0000 Received: by lahi5 with SMTP id i5so1078952lah.0 for ; Fri, 25 May 2012 12:50:41 -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:content-transfer-encoding:x-gm-message-state; bh=+cBGCA/HL9tBCWeJr+s2AiEyN0ZvA7t6ot4tqLdzfo0=; b=RITelwXNkChsMj95yBJ2Hp6X0b9tNp1GHEj2lvwzPhu7iv274Q0o+s5ngO14RBmobl fOPUdvigv7wNg6/ej7kAVxLCH48j0IV/F0MaN4lkRbT9wLVyYaIGfvzDa/XWIrWivoQ9 UPWYvpKkOR7Xd1YT7QRLMvIGvEfu+JuGGTxDGDcdI0RuBqzxBR52lKbqJj9gta5nMiYR Adldo5iWgL957W/WeCS8xk7SvYTm4Q1vQuWH6bCYOvBrDbLjJ80JrWYWz1bP3ctny+F1 hJpKwtDXRkNrb22kDChT7nCnC4gt09askNAYcRqBHCPJpm/fmk0/7OVP3DO6NOPd5bRY sBFg== MIME-Version: 1.0 Received: by 10.112.38.161 with SMTP id h1mr69433lbk.85.1337975441711; Fri, 25 May 2012 12:50:41 -0700 (PDT) Received: by 10.152.131.10 with HTTP; Fri, 25 May 2012 12:50:41 -0700 (PDT) In-Reply-To: <87396o72f3.fsf@fleche.redhat.com> References: <87396o72f3.fsf@fleche.redhat.com> Date: Fri, 25 May 2012 19:50:00 -0000 Message-ID: Subject: Re: Hotspot JVM GDBJIT plugin From: Kaushik Srenevasan To: Tom Tromey Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkUdoKfc/sesKJG7g8/9tGh1BWN+jHZc/m/grLhHPjLcXMgWO66gHpZ4JN9qqdxlQbKtCwN 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/msg00127.txt.bz2 On Fri, May 25, 2012 at 7:36 AM, Tom Tromey wrote: > Sure. =A0Just send individual patches following the contribution > instructions... > Will do. > Phil has been working on a related feature in gdb, called "frame > filters". =A0Frame filters let you write Python code to modify frames as > they are being displayed; you can change nearly any aspect of a frame, > and even insert and delete frames. =A0The primary use case for this > feature is displaying better stack traces in interpreters. > This was exactly what I was looking for when I started and since Python scr= ipts couldn't do it at the time, I wrote a JIT reader. I have a few questions th= ough: With frame filters, would JIT readers still be necessary to unwind the frame or is that done from Python too? If they're not, are JIT readers going to be supported going forward? When is this expected to hit trunk? -Kaushik