diff options
author | Phil Muldoon <pmuldoon@redhat.com> | 2009-12-03 21:19:49 +0000 |
---|---|---|
committer | Phil Muldoon <pmuldoon@redhat.com> | 2009-12-03 21:19:49 +0000 |
commit | bfd31e71181e450159f7540aaad11184544cabe0 (patch) | |
tree | 031e40b0a29918e607b1ce9921f8c02364f93379 /gdb/doc/gdb.texinfo | |
parent | 57a1d736959fb92e39abab59511a903b7ec59547 (diff) | |
download | gdb-bfd31e71181e450159f7540aaad11184544cabe0.zip gdb-bfd31e71181e450159f7540aaad11184544cabe0.tar.gz gdb-bfd31e71181e450159f7540aaad11184544cabe0.tar.bz2 |
2009-12-03 Richard Ward <richard.j.ward1@googlemail.com>
* python/py-type.c (convert_field): New attribute "is_base_class".
doc/
2009-12-03 Richard Ward <richard.j.ward1@googlemail.com>
* gdb.texinfo (Types In Python): Describe "is_base_class".
testsuite/
2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
PR python/10805
* gdb.python/py-type.exp: New file.
* gdb.python/py-type.c: New file.
* Makefile.in: Add py-type.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r-- | gdb/doc/gdb.texinfo | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 8cdab8f..b5862c1 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -19621,6 +19621,12 @@ This is @code{True} if the field is artificial, usually meaning that it was provided by the compiler and not the user. This attribute is always provided, and is @code{False} if the field is not artificial. +@item is_base_class +This is @code{True} if the field represents a base class of a C@t{++} +structure. This attribute is always provided, and is @code{False} +if the field is not a base class of the type that is the argument of +@code{fields}, or if that type was not a C@t{++} class. + @item bitsize If the field is packed, or is a bitfield, then this will have a non-zero value, which is the size of the field in bits. Otherwise, |