From: Luis Machado luis.machado@arm.com
Rename "attributes" to "permissions" when printing decoded capabilities.
gdbsupport/ChangeLog:
YYYY-MM-DD Luis Machado luis.machado@arm.com
* capability.cc (capability::to_str): Rename "attributes" to "permissions". --- gdbsupport/capability.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdbsupport/capability.cc b/gdbsupport/capability.cc index f2979d3060..1b01590d5c 100644 --- a/gdbsupport/capability.cc +++ b/gdbsupport/capability.cc @@ -529,7 +529,7 @@ std::string capability::to_str (void) { /* The printing format is the following: - {tag = %d, address = 0x%016x, attributes = {[%s], otype = 0x%04x, + {tag = %d, address = 0x%016x, permissions = {[%s], otype = 0x%04x, [range = [0x%016x - 0x%016x)}} */ std::string cap_str (""); @@ -566,7 +566,7 @@ capability::to_str (void)
/* Assemble the capability string. */ cap_str += "{tag = " + tag_str + ", address = " + val_str + ", " - + "attributes = {" + perm_str + " "; + + "permissions = {" + perm_str + " ";
if (is_sealed ()) cap_str += "otype = " + otype_str + ", ";