From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7058 invoked by alias); 11 Mar 2015 18:48:26 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 7003 invoked by uid 89); 11 Mar 2015 18:48:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-ie0-f179.google.com Received: from mail-ie0-f179.google.com (HELO mail-ie0-f179.google.com) (209.85.223.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 11 Mar 2015 18:48:24 +0000 Received: by ieclw3 with SMTP id lw3so1748478iec.2 for ; Wed, 11 Mar 2015 11:48:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=kEE/d/Za3g1A9XBfgYMiJpV5cqjueXAjZ8I+l3BpFwg=; b=lfKFCbSENCwn+B2+yrRErlBb9Wf40qlxU5DBDREkKRlZxNENF4bUmaGZc1TyHO+6dt +SEY4F42u+dmOJ5n5NiHCSPz7yCIkMoL6mXu9PJfxcrkEvben6Q3bqxEkhT3SYboiuDi 6ls/43fLS5A1nK9XDqzsU3s+amdbRZ7JHx5pxCN3PtM0cJrqVKwal5uEYwwq4p0hj0qw ohCCpxMfjj3fhncZQ+d83KjLpEcAdLLUVqp87f55srf5FX3pFAgOiJ70vgyL/wko6NJF Nxdexhb226G5I90mz8r5mWXmHDY5Cg6IsLKeovNXVT+MQ1zG4xgXxs1XD1EF2Adrsxn4 bwaw== X-Gm-Message-State: ALoCoQl2atYR7xSSRJjApUd1Oz/YmLvIi+sVcVCjsEwzWqjM5HKDjIE/qTyXTBYc8ydgGFv5oeBi MIME-Version: 1.0 X-Received: by 10.50.82.68 with SMTP id g4mr93552275igy.26.1426099702085; Wed, 11 Mar 2015 11:48:22 -0700 (PDT) Received: by 10.64.227.110 with HTTP; Wed, 11 Mar 2015 11:48:21 -0700 (PDT) In-Reply-To: <87twxrncld.fsf@igalia.com> References: <21714.40641.510825.30998@ruffy2.mtv.corp.google.com> <54E71694.1080304@redhat.com> <87ioei31uj.fsf@igalia.com> <87d24p19tt.fsf@igalia.com> <54FD7DAA.7010603@redhat.com> <87twxrncld.fsf@igalia.com> Date: Wed, 11 Mar 2015 18:48:00 -0000 Message-ID: Subject: Re: [RFC] [PATCH] Provide the ability to write the frame unwinder in Python From: Alexander Smundak To: Andy Wingo Cc: Phil Muldoon , Doug Evans , gdb-patches Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-03/txt/msg00316.txt.bz2 On Wed, Mar 11, 2015 at 1:49 AM, Andy Wingo wrote: >I note that the patch has no interface to specify registers by name. >I still wouldn't do numbers but I see we disagree :) Will do in the next revision. > What do you think about merging the SnifferInfo and UnwindInfo objects > into an EphemeralFrame object? It would be nice to use the same nouns > on the Guile and Python sides. I prefer the separation of the input (SnifferInfo) and output (UnwindInfo). I am surprised someone from Guile side is advocating stateful interface :-) In fact, I'd rather avoid having modifiable UnwindInfo at all -- a sniffer can return a 2-tuple of (, ), where FrameId instance can be created by a class method gdb.SnifferInfo.frame_id_build_xxx(). Can we agree on that?