aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@linaro.org>2021-12-21 15:05:52 -0300
committerLuis Machado <luis.machado@linaro.org>2021-12-21 15:05:52 -0300
commit8a7cd1ebd7b9587ab7dba3f61262e7b029dfe384 (patch)
tree2e98ee157ebcf01d3e1ad9cb54d93bdc6acf7f6a /gdb/nat
parentae47e3097e9f0608490ed4a53c1710301d409ad1 (diff)
downloadgdb-8a7cd1ebd7b9587ab7dba3f61262e7b029dfe384.zip
gdb-8a7cd1ebd7b9587ab7dba3f61262e7b029dfe384.tar.gz
gdb-8a7cd1ebd7b9587ab7dba3f61262e7b029dfe384.tar.bz2
[AArch64] Fix typo in error messages
Fix mispelling of PROT_ME to PROT_MTE in the error messages.
Diffstat (limited to 'gdb/nat')
-rw-r--r--gdb/nat/aarch64-mte-linux-ptrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nat/aarch64-mte-linux-ptrace.c b/gdb/nat/aarch64-mte-linux-ptrace.c
index 524cdbe..6d38642 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;