aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-gdb.py.in
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2020-12-18 18:35:31 +0100
committerHannes Domani <ssbssa@yahoo.de>2020-12-18 22:06:01 +0100
commite51765f93220525fc3976c161cf5003e91e9d0ea (patch)
treed77c8c864a4782728ed3401ce16764a2e6ac5061 /gdb/gdb-gdb.py.in
parente84604595250f89a528cc422eed110c294c94a02 (diff)
downloadgdb-e51765f93220525fc3976c161cf5003e91e9d0ea.zip
gdb-e51765f93220525fc3976c161cf5003e91e9d0ea.tar.gz
gdb-e51765f93220525fc3976c161cf5003e91e9d0ea.tar.bz2
Fix name of main_type field type in pretty printer
It was renamed from type to m_type. gdb/ChangeLog: 2020-12-18 Hannes Domani <ssbssa@yahoo.de> * gdb-gdb.py.in: Fix main_type field name.
Diffstat (limited to 'gdb/gdb-gdb.py.in')
-rw-r--r--gdb/gdb-gdb.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdb-gdb.py.in b/gdb/gdb-gdb.py.in
index ff68bd7..da23ddb 100644
--- a/gdb/gdb-gdb.py.in
+++ b/gdb/gdb-gdb.py.in
@@ -175,7 +175,7 @@ class StructMainTypePrettyPrinter:
label += " (artificial)"
fields = []
fields.append("name = %s" % f['name'])
- fields.append("type = %s" % f['type'])
+ fields.append("type = %s" % f['m_type'])
fields.append("loc_kind = %s" % f['loc_kind'])
fields.append("bitsize = %d" % f['bitsize'])
fields.append(self.struct_field_location_img(f))