[gdb/testsuite] Cleanup unnecessary expr from require line
authorTom de Vries <tdevries@suse.de>
Fri, 24 Feb 2023 12:52:12 +0000 (13:52 +0100)
committerTom de Vries <tdevries@suse.de>
Fri, 24 Feb 2023 12:52:12 +0000 (13:52 +0100)
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 <tom@tromey.com>
gdb/testsuite/gdb.base/morestack.exp

index b4d22187390e85c7c345394db73f8a8c74d6758b..cc81522a51ec48e29da9ad24a351feb2acee188c 100644 (file)
@@ -15,7 +15,7 @@
 
 require is_c_compiler_gcc
 
-require {expr [have_compile_flag -fsplit-stack]}
+require {have_compile_flag -fsplit-stack}
 
 standard_testfile