]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Don't show extra __capability modifier
authorLuis Machado <luis.machado@linaro.org>
Wed, 6 Jan 2021 13:16:19 +0000 (10:16 -0300)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 1 Sep 2022 22:53:23 +0000 (15:53 -0700)
gdb/ChangeLog:

2021-01-15  Luis Machado  <luis.machado@arm.com>

* aarch64-tdep.c (aarch64_address_class_type_flags_to_name): Return
NULL.

gdb/aarch64-tdep.c

index 4834c77ef6f4cbc0c66a3a7fba14fc0c1bccf5bf..4918f736e02e8b7f0bf820b9fe6214437ec4a5dc 100644 (file)
@@ -3842,9 +3842,8 @@ static const char*
 aarch64_address_class_type_flags_to_name (struct gdbarch *gdbarch,
                                          type_instance_flags type_flags)
 {
-  if (type_flags & TYPE_INSTANCE_FLAG_CAPABILITY)
-    return "__capability";
-  else
+    /* No need to display the extra __capability modifier.  GDB already takes
+       cares of this.  */
     return NULL;
 }