From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5270 invoked by alias); 5 Nov 2012 10:39:09 -0000 Received: (qmail 5260 invoked by uid 22791); 5 Nov 2012 10:39:08 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Nov 2012 10:39:03 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qA5Ad1xa023441 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 5 Nov 2012 05:39:02 -0500 Received: from localhost.localdomain (ovpn-116-47.ams2.redhat.com [10.36.116.47]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qA5Ad0DI029931; Mon, 5 Nov 2012 05:39:01 -0500 Message-ID: <50979744.6090103@redhat.com> Date: Mon, 05 Nov 2012 10:39:00 -0000 From: Phil Muldoon MIME-Version: 1.0 To: Siva Chandra CC: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFC] Fix for gdb.parameter('architecture') returning empty string References: <87y5ilqdoz.fsf@fleche.redhat.com> <87r4ocosah.fsf@fleche.redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2012-11/txt/msg00080.txt.bz2 On 11/02/2012 06:45 PM, Siva Chandra wrote: > 1. Fix gdb.parameter by the way of using methods on CLI objects. > 2. Expose current frame arch through the gdb.Frame class. Do you plan on modeling the architecture with its own object? (IE gdb.Frame.arch() returns a gdb.Arch object, with methods/attributes etc). If so, can you please write up your plan first? I think architectures are strictly internal components of GDB, and may not be "baked" enough to for modeling, or may need adjustment first. We had a discussion similar to this with some elements of breakpoints a few months back. Cheers Phil