From: Tom de Vries Date: Fri, 24 Feb 2023 12:52:12 +0000 (+0100) Subject: [gdb/testsuite] Cleanup unnecessary expr from require line X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1c8928395be789ec091d5ff0f3546d7916e00ba;p=binutils-gdb.git [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 --- 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