aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-gdb.py.in
diff options
context:
space:
mode:
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))