mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 12:53:17 +08:00
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.
This commit is contained 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))
|
||||
|
Reference in New Issue
Block a user