aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorPaul Koning <pkoning@equallogic.com>2011-10-28 14:48:59 +0000
committerPaul Koning <pkoning@equallogic.com>2011-10-28 14:48:59 +0000
commit0aaaf06393e8ba1f48281c928ab33099e1bc84d6 (patch)
treeb8c7775d08135d6ef047921be3e6bb31f5787069 /gdb/doc
parent03c3051af409283414a7d14e7a7f596da7aa54de (diff)
downloadgdb-0aaaf06393e8ba1f48281c928ab33099e1bc84d6.zip
gdb-0aaaf06393e8ba1f48281c928ab33099e1bc84d6.tar.gz
gdb-0aaaf06393e8ba1f48281c928ab33099e1bc84d6.tar.bz2
* gdb.texinfo (gdb.types): Rename deepitems to deep_items.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 2001e0c..1108974 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-28 Paul Koning <paul_koning@dell.com>
+
+ * gdb.texinfo (gdb.types): Rename deepitems to deep_items.
+
2011-10-27 Kevin Pouget <kevin.pouget@st.com>
* gdb.texinfo ((Frames In Python): Document
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 3e78832..c200b55 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -24438,10 +24438,10 @@ Return @code{True} if @var{type}, assumed to be a type with fields
@item make_enum_dict (@var{enum_type})
Return a Python @code{dictionary} type produced from @var{enum_type}.
-@item deepitems (@var{type})
+@item deep_items (@var{type})
Returns a Python iterator similar to the standard
@code{gdb.Type.iteritems} method, except that the iterator returned
-by @code{deepitems} will recursively traverse anonymous struct or
+by @code{deep_items} will recursively traverse anonymous struct or
union fields. For example:
@smallexample
@@ -24462,7 +24462,7 @@ Then in @value{GDBN}:
(@value{GDBP}) python struct_a = gdb.lookup_type("struct A")
(@value{GDBP}) python print struct_a.keys ()
@{['a', '']@}
-(@value{GDBP}) python print [k for k,v in gdb.types.deepitems(struct_a)]
+(@value{GDBP}) python print [k for k,v in gdb.types.deep_items(struct_a)]
@{['a', 'b0', 'b1']@}
@end smallexample