This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RFA: documentation fix, PR 10782
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 23 Nov 2009 13:45:58 -0700
- Subject: RFA: documentation fix, PR 10782
- Reply-to: Tom Tromey <tromey at redhat dot com>
This patch fixes PR 10782.
It documents Type.pointer, mostly by copying the Type.reference
documentation.
Ok?
Tom
2009-11-23 Tom Tromey <tromey@redhat.com>
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.