]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
capability: Don't print redundant "sealed" for sentries.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 29 Jul 2022 01:05:15 +0000 (18:05 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 1 Sep 2022 23:47:42 +0000 (16:47 -0700)
gdbsupport/capability.cc

index a3993b4b90f687aac6e6898bdc299c28dee94357..02656673855f96316e04264861586bb8a9ed07bf 100644 (file)
@@ -573,7 +573,7 @@ capability::metadata_str (void)
        attr_str += ",";
       attr_str += "sentry";
     }
-  if (is_sealed ())
+  else if (is_sealed ())
     {
       if (!attr_str.empty ())
        attr_str += ",";