diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-02-09 15:14:46 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-02-09 15:14:46 +0000 |
commit | f4859d94a05ee84d491fcc2bdb221da6670dbe52 (patch) | |
tree | 4d2a5cad88250f4162008756c82590ff6bea1586 /gdb/gdb-gdb.py | |
parent | c56a97f95713fc5b910d70ba4f38159c53149bc9 (diff) | |
download | binutils-gdb-f4859d94a05ee84d491fcc2bdb221da6670dbe52.tar.gz |
gdb/
* gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print
flds_bnds.fields.
(StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds.
Diffstat (limited to 'gdb/gdb-gdb.py')
-rw-r--r-- | gdb/gdb-gdb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdb-gdb.py b/gdb/gdb-gdb.py index 7dace99bd2d..579500fdd3b 100644 --- a/gdb/gdb-gdb.py +++ b/gdb/gdb-gdb.py @@ -166,7 +166,7 @@ class StructMainTypePrettyPrinter: """Return an image of the main_type field number FIELDNO. """ f = self.val['flds_bnds']['fields'][fieldno] - label = "field[%d]:" % fieldno + label = "flds_bnds.fields[%d]:" % fieldno if f['artificial']: label += " (artificial)" fields = [] @@ -186,7 +186,7 @@ class StructMainTypePrettyPrinter: high = str(b['high']) if b['high_undefined'] != 0: high += " (undefined)" - return "bounds = {%s, %s}" % (low, high) + return "flds_bnds.bounds = {%s, %s}" % (low, high) def type_specific_img(self): """Return a string image of the main_type type_specific union. Only the relevant component of that union is printed (based on |