aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/gdb.texinfo
diff options
context:
space:
mode:
authorPhil Muldoon <pmuldoon@redhat.com>2009-12-08 14:06:04 +0000
committerPhil Muldoon <pmuldoon@redhat.com>2009-12-08 14:06:04 +0000
commit361ae042505053cb924612be0c8c79380d29d941 (patch)
treec652761b90b8d96b675146b80aac4b7e80926cc3 /gdb/doc/gdb.texinfo
parent40b5c9fb4b794ff4337707edbd74af035bdbb0c2 (diff)
downloadgdb-361ae042505053cb924612be0c8c79380d29d941.zip
gdb-361ae042505053cb924612be0c8c79380d29d941.tar.gz
gdb-361ae042505053cb924612be0c8c79380d29d941.tar.bz2
2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
PR python/10804 * python/py-type.c (typy_range): New Function. 2009-12-08 Phil Muldoon <pmuldoon@redhat.com> * gdb.python/py-type.exp (test_range): New test. 2009-12-08 Phil Muldoon <pmuldoon@redhat.com> * gdb.texinfo (Types In Python): Describe range function.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r--gdb/doc/gdb.texinfo7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index b5862c1..e880838 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -19654,6 +19654,13 @@ variant of this type. That is, the result is neither @code{const} nor
@code{volatile}.
@end defmethod
+@defmethod Type range
+Return a Python @code{Tuple} object that contains two elements: the
+low bound of the argument type and the high bound of that type. If
+the type does not have a range, @value{GDBN} will raise a
+@code{RuntimeError} exception.
+@end defmethod
+
@defmethod Type reference
Return a new @code{gdb.Type} object which represents a reference to this
type.