aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/lib/gdb/types.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/lib/gdb/types.py b/gdb/python/lib/gdb/types.py
index 9a9b245..c0aa422 100644
--- a/gdb/python/lib/gdb/types.py
+++ b/gdb/python/lib/gdb/types.py
@@ -91,7 +91,7 @@ def make_enum_dict(enum_type):
return enum_dict
-def deepitems (type_):
+def deep_items (type_):
"""Return an iterator that recursively traverses anonymous fields.
Arguments:
@@ -107,5 +107,5 @@ def deepitems (type_):
if k:
yield k, v
else:
- for i in deepitems (v.type):
+ for i in deep_items (v.type):
yield i