From: Jan Vrany Date: Tue, 10 Feb 2026 19:30:03 +0000 (+0000) Subject: gdb/testsuite: remove timeout setting from gdb.base/chng-syms.exp X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=880d79c2654e7f676182d76a89f45ed8e9e86dad;p=thirdparty%2Fbinutils-gdb.git gdb/testsuite: remove timeout setting from gdb.base/chng-syms.exp Test gdb.base/chng-syms.exp sets timeout to 10 seconds unconditionally. Not only this is not necessary as the default timeout seems to be the same, it may actually lower the timeout if set in site.exp (which is the common technique to setup testsuite on slow machines). Fix this by removing timeout-setting code. Approved-By: Tom Tromey --- diff --git a/gdb/testsuite/gdb.base/chng-syms.exp b/gdb/testsuite/gdb.base/chng-syms.exp index 58afa8c6914..3c17d7b2e91 100644 --- a/gdb/testsuite/gdb.base/chng-syms.exp +++ b/gdb/testsuite/gdb.base/chng-syms.exp @@ -25,10 +25,6 @@ if { [prepare_for_testing "prepare" $testfile $srcfile \ return } -set oldtimeout $timeout -set timeout 10 -verbose "Timeout is now 10 seconds" 2 - proc expect_to_stop_here { ident } { # the "at foo.c:36" output we get with -g. # the "in func" output we get without -g. @@ -78,6 +74,3 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb } } - -set timeout $oldtimeout -verbose "Timeout is now $timeout seconds" 2