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:
parent
e846045952
commit
e51765f932
@ -1,3 +1,7 @@
|
||||
2020-12-18 Hannes Domani <ssbssa@yahoo.de>
|
||||
|
||||
* gdb-gdb.py.in: Fix main_type field name.
|
||||
|
||||
2020-12-18 Hannes Domani <ssbssa@yahoo.de>
|
||||
|
||||
* python/py-value.c (valpy_format_string): Implement address keyword.
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user