From: Thiago Jung Bauermann Date: Mon, 1 Dec 2025 21:45:33 +0000 (-0300) Subject: gdb/testsuite: Fix doc comment in allow_aarch64_sme_tests X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf3337e701b74c6d66c9500655366247772b18d0;p=thirdparty%2Fbinutils-gdb.git 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. --- 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