From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23902 invoked by alias); 23 Nov 2009 20:46:08 -0000 Received: (qmail 23891 invoked by uid 22791); 23 Nov 2009 20:46:07 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_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, 23 Nov 2009 20:46:01 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nANKk0tq019731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 23 Nov 2009 15:46:00 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nANKjxhw011637; Mon, 23 Nov 2009 15:46:00 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id nANKjx5G009248; Mon, 23 Nov 2009 15:45:59 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id CB1BF37824C; Mon, 23 Nov 2009 13:45:58 -0700 (MST) From: Tom Tromey To: gdb-patches@sourceware.org Subject: RFA: documentation fix, PR 10782 Reply-To: Tom Tromey Date: Mon, 23 Nov 2009 20:46:00 -0000 Message-ID: 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: 2009-11/txt/msg00508.txt.bz2 This patch fixes PR 10782. It documents Type.pointer, mostly by copying the Type.reference documentation. Ok? Tom 2009-11-23 Tom Tromey PR python/10782: * gdb.texinfo (Types In Python): Document Type.pointer. Index: doc/gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.641 diff -u -r1.641 gdb.texinfo --- doc/gdb.texinfo 2 Nov 2009 14:59:52 -0000 1.641 +++ doc/gdb.texinfo 23 Nov 2009 20:44:59 -0000 @@ -19636,6 +19636,11 @@ type. @end defmethod +@defmethod Type pointer +Return a new @code{gdb.Type} object which represents a pointer to this +type. +@end defmethod + @defmethod Type strip_typedefs Return a new @code{gdb.Type} that represents the real type, after removing all layers of typedefs.