From 8a7cd1ebd7b9587ab7dba3f61262e7b029dfe384 Mon Sep 17 00:00:00 2001 From: Luis Machado Date: Tue, 21 Dec 2021 15:05:52 -0300 Subject: [PATCH] [AArch64] Fix typo in error messages Fix mispelling of PROT_ME to PROT_MTE in the error messages. --- gdb/nat/aarch64-mte-linux-ptrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/nat/aarch64-mte-linux-ptrace.c b/gdb/nat/aarch64-mte-linux-ptrace.c index 524cdbee4a2..6d386424db8 100644 --- a/gdb/nat/aarch64-mte-linux-ptrace.c +++ b/gdb/nat/aarch64-mte-linux-ptrace.c @@ -44,7 +44,7 @@ aarch64_mte_linux_peek_error (int error) perror_with_name (_("Couldn't fetch allocation tags")); break; case EOPNOTSUPP: - perror_with_name (_("PROT_ME not enabled for requested address")); + perror_with_name (_("PROT_MTE not enabled for requested address")); default: perror_with_name (_("Unknown MTE error")); break; @@ -66,7 +66,7 @@ aarch64_mte_linux_poke_error (int error) perror_with_name (_("Couldn't store allocation tags")); break; case EOPNOTSUPP: - perror_with_name (_("PROT_ME not enabled for requested address")); + perror_with_name (_("PROT_MTE not enabled for requested address")); default: perror_with_name (_("Unknown MTE error")); break; -- 2.30.2