From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8745 invoked by alias); 28 Sep 2011 20:06:49 -0000 Received: (qmail 8735 invoked by uid 22791); 28 Sep 2011 20:06:48 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from qmta01.emeryville.ca.mail.comcast.net (HELO qmta01.emeryville.ca.mail.comcast.net) (76.96.30.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 28 Sep 2011 20:06:35 +0000 Received: from omta15.emeryville.ca.mail.comcast.net ([76.96.30.71]) by qmta01.emeryville.ca.mail.comcast.net with comcast id eGa51h0031Y3wxoA1L6S0c; Wed, 28 Sep 2011 20:06:26 +0000 Received: from [10.127.238.91] ([65.206.2.68]) by omta15.emeryville.ca.mail.comcast.net with comcast id eL7F1h00K1U2a2h8bL7Jv2; Wed, 28 Sep 2011 20:07:24 +0000 Subject: Re: [RFA] Re: Python: add field access by name and standard python mapping methods to gdb.Type Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Paul Koning In-Reply-To: Date: Wed, 28 Sep 2011 20:41:00 -0000 Cc: gdb-patches@sourceware.org Content-Transfer-Encoding: 7bit Message-Id: <560557F2-1B8B-4633-8CD6-E63705EEAF0E@comcast.net> References: <3A3AF5AE-70E8-43D0-B8CE-DCADFEEF879A@comcast.net> To: Doug Evans 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: 2011-09/txt/msg00476.txt.bz2 On Sep 28, 2011, at 1:49 PM, Doug Evans wrote: > ... > One changelog entry has two colons (::), but other than that > it's ok by me. Thanks! Thanks. Committed with these changelogs, same diff as previously mailed: 2011-09-28 Paul Koning * python/py-type.c (make_fielditem, typy_field_names, typy_items) (typy_length, typy_get, typy_has_key, typy_make_iter) (typy_iterkeys, typy_iteritems, typy_itervalues, typy_iter) (typy_iterator_iter, typy_iterator_iternext) (typy_iterator_dealloc): New functions to implement standard Python mapping methods on gdb.Type object. (gdb.TypeIterator): New Python type. * python/python-internal.h (gdbpy_iter_kind): New enum. * doc/gdb.texinfo (gdb.Type): Document field access by dictionary key syntax. 2011-09-28 Paul Koning * gdb.python/py-type.c (enum E): New. * gdb.python/py-type.exp (test_fields): Add tests for Python mapping access to fields. (test_enums): New test for field access on enums. paul