From feb7ecf31caaa33b190cde008ed67c646f7dae81 Mon Sep 17 00:00:00 2001 From: Luis Machado Date: Wed, 6 Jan 2021 10:16:19 -0300 Subject: [PATCH] Don't show extra __capability modifier gdb/ChangeLog: 2021-01-15 Luis Machado * aarch64-tdep.c (aarch64_address_class_type_flags_to_name): Return NULL. --- gdb/ChangeLog | 5 +++++ gdb/aarch64-tdep.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2cfcc670fab..487c672ac8c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2021-01-15 Luis Machado + + * aarch64-tdep.c (aarch64_address_class_type_flags_to_name): Return + NULL. + 2020-12-30 Luis Machado * capability.cc (capability::to_str): Append strings to diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index 14b46e85c8c..e1792e70a49 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -3775,9 +3775,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; } -- 2.47.3