From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18722 invoked by alias); 3 Jun 2008 14:52:03 -0000 Received: (qmail 18710 invoked by uid 22791); 3 Jun 2008 14:52:03 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 03 Jun 2008 14:51:45 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m53EpgvP030691 for ; Tue, 3 Jun 2008 10:51:42 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m53Epfle017181; Tue, 3 Jun 2008 10:51:41 -0400 Received: from opsy.redhat.com (vpn-10-38.bos.redhat.com [10.16.10.38]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m53EpeJj027942; Tue, 3 Jun 2008 10:51:41 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id CCEBB37818F; Tue, 3 Jun 2008 08:51:39 -0600 (MDT) To: gdb-patches@sourceware.org Subject: Re: [RFC][patch 2/9] export values mechanism to Python References: <20080429155212.444237503@br.ibm.com> <20080429155304.466637516@br.ibm.com> <20080528212451.GB2969@caradoc.them.org> <20080603130412.GB7866@caradoc.them.org> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Tue, 03 Jun 2008 14:52:00 -0000 In-Reply-To: <20080603130412.GB7866@caradoc.them.org> (Daniel Jacobowitz's message of "Tue\, 3 Jun 2008 09\:04\:12 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 X-SW-Source: 2008-06/txt/msg00017.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: >> * A way to register a type->object mapping from Python Daniel> I'm not sure what you mean. Type to what object? Sorry -- I mean a way to map a gdb 'struct type *' to the Python object which will handle printing objects of that type. Daniel> An interesting question is how to access sub-pieces of a value from Daniel> the CLI. If we pretty-print something as a map, how should the user Daniel> get (A) the values, and (B) the fields of the raw representation of Daniel> the map? Yeah, good question. Daniel> I think we need a UI before we worry about the innards. Ok. Tom