From f1c8928395be789ec091d5ff0f3546d7916e00ba Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 24 Feb 2023 13:52:12 +0100 Subject: [PATCH] [gdb/testsuite] Cleanup unnecessary expr from require line In a recent commit I've added: ... require {expr [have_compile_flag -fsplit-stack]} ... but actually the expr bit is unnecessary, and we can just use: ... require {have_compile_flag -fsplit-stack} ... Reported-By: Tom Tromey --- gdb/testsuite/gdb.base/morestack.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.base/morestack.exp b/gdb/testsuite/gdb.base/morestack.exp index b4d22187390..cc81522a51e 100644 --- a/gdb/testsuite/gdb.base/morestack.exp +++ b/gdb/testsuite/gdb.base/morestack.exp @@ -15,7 +15,7 @@ require is_c_compiler_gcc -require {expr [have_compile_flag -fsplit-stack]} +require {have_compile_flag -fsplit-stack} standard_testfile -- 2.30.2