gdb-gdb.py.in: Don't print value's tag_name
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 27 Jun 2018 18:32:07 +0000 (14:32 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 27 Jun 2018 18:32:08 +0000 (14:32 -0400)
This has been removed recently.

gdb/ChangeLog:

* gdb-gdb.py.in (StructMainTypePrettyPrinter) <to_string>: Don't
print tag_name.

gdb/ChangeLog
gdb/gdb-gdb.py.in

index 9a74009..18c1915 100644 (file)
@@ -1,5 +1,10 @@
 2018-06-27  Simon Marchi  <simon.marchi@ericsson.com>
 
+       * gdb-gdb.py.in (StructMainTypePrettyPrinter) <to_string>: Don't
+       print tag_name.
+
+2018-06-27  Simon Marchi  <simon.marchi@ericsson.com>
+
        * gdb-gdb.py.in (TypeFlag) <__cmp__>: Remove.
        <__lt__>: Add.
 
index c844e4c..cde6068 100644 (file)
@@ -209,7 +209,6 @@ class StructMainTypePrettyPrinter:
         """
         fields = []
         fields.append("name = %s" % self.val['name'])
-        fields.append("tag_name = %s" % self.val['tag_name'])
         fields.append("code = %s" % self.val['code'])
         fields.append("flags = [%s]" % self.flags_to_string())
         fields.append("owner = %s" % self.owner_to_string())