diff options
author | Phil Muldoon <pmuldoon@redhat.com> | 2009-10-27 20:51:22 +0000 |
---|---|---|
committer | Phil Muldoon <pmuldoon@redhat.com> | 2009-10-27 20:51:22 +0000 |
commit | 14ff22352f53da430adbc3455b54f113af3bf849 (patch) | |
tree | 186a1ada8c8d0b773ea65d535850d19f7bddf8d8 /gdb/doc | |
parent | 66b4202f3069768b4a1c202422444f6f524b5838 (diff) | |
download | gdb-14ff22352f53da430adbc3455b54f113af3bf849.zip gdb-14ff22352f53da430adbc3455b54f113af3bf849.tar.gz gdb-14ff22352f53da430adbc3455b54f113af3bf849.tar.bz2 |
2009-10-27 Tom Tromey <tromey@redhat.com>
Eli Zaretskii <eliz@gnu.org>
PR python/10781
* gdb.texinfo (Values From Inferior): Document cast method.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index d65e6856..ce99840 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,10 @@ +2009-10-27 Tom Tromey <tromey@redhat.com> + Eli Zaretskii <eliz@gnu.org> + + PR python/10781 + + * gdb.texinfo (Values From Inferior): Document cast method. + 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.texinfo (Machine Code): Mention function name in disasssembly diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index c1e393f..6a74aeb 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -19445,6 +19445,13 @@ The type of this @code{gdb.Value}. The value of this attribute is a The following methods are provided: @table @code +@defmethod Value cast type +Return a new instance of @code{gdb.Value} that is the result of +casting this instance to the type described by @var{type}, which must +be a @code{gdb.Type} object. If the cast cannot be performed for some +reason, this method throws an exception. +@end defmethod + @defmethod Value dereference For pointer data types, this method returns a new @code{gdb.Value} object whose contents is the object pointed to by the pointer. For example, if |