aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinath Parvathaneni <srinath.parvathaneni@arm.com>2024-05-21 14:59:03 +0100
committersrinath <srinath.parvathaneni@arm.com>2024-05-21 14:59:10 +0100
commite63b1d595021ce64d20e06a32c0ec69c9a3e56e7 (patch)
tree257a5a5af6f94cb558b1886d83a8935cfd958c59
parentf56e1c8c8630103a5f238645fa8be1e4802fe122 (diff)
downloadgdb-e63b1d595021ce64d20e06a32c0ec69c9a3e56e7.zip
gdb-e63b1d595021ce64d20e06a32c0ec69c9a3e56e7.tar.gz
gdb-e63b1d595021ce64d20e06a32c0ec69c9a3e56e7.tar.bz2
aarch64: Fix the hyphenated disassembly comment.
This patch fixes the following comment. - /* The hyphenated form is preferred for disassembly if there are - more than two registers in the list, and the register numbers are monotonically increasing in increments of one. */ + /* The hyphenated form is preferred for disassembly if there is + more than one register in the list, and the register numbers are monotonically increasing in increments of one. */
-rw-r--r--opcodes/aarch64-opc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/aarch64-opc.c b/opcodes/aarch64-opc.c
index 4a7a6ae..032ab17 100644
--- a/opcodes/aarch64-opc.c
+++ b/opcodes/aarch64-opc.c
@@ -3700,8 +3700,8 @@ print_register_list (char *buf, size_t size, const aarch64_opnd_info *opnd,
else
tb[0] = '\0';
- /* The hyphenated form is preferred for disassembly if there are
- more than two registers in the list, and the register numbers
+ /* The hyphenated form is preferred for disassembly if there is
+ more than one register in the list, and the register numbers
are monotonically increasing in increments of one. */
if (stride == 1 && num_regs > 1
&& ((opnd->type != AARCH64_OPND_SME_Zt2)