From cf3337e701b74c6d66c9500655366247772b18d0 Mon Sep 17 00:00:00 2001 From: Thiago Jung Bauermann Date: Mon, 1 Dec 2025 18:45:33 -0300 Subject: [PATCH] gdb/testsuite: Fix doc comment in allow_aarch64_sme_tests The comment says that it returns 0 if the target supports SME and 1 if it doesn't, but it actually does the opposite. The code does the right thing, so fix the comment. --- gdb/testsuite/lib/gdb.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 5d005f21be0..b502e0c7de3 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -5049,7 +5049,7 @@ proc aarch64_supports_sve_vl { length } { } # Run a test on the target to see if it supports Aarch64 SME extensions. -# Return 0 if so, 1 if it does not. Note this causes a restart of GDB. +# Return 1 if so, 0 if it does not. Note this causes a restart of GDB. gdb_caching_proc allow_aarch64_sme_tests {} { global srcdir subdir gdb_prompt inferior_exited_re -- 2.47.3