From d1b75579ce98a53b2d28875ce6dbd3a9dd7a3e6a Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 9 Feb 2012 15:14:43 +0000 Subject: gdb/ * gdb-gdb.py (StructMainTypePrettyPrinter) : Print flds_bnds.fields. (StructMainTypePrettyPrinter) : Print flds_bnds.bounds. --- gdb/gdb-gdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/gdb-gdb.py') 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 -- cgit v1.2.1