-
- * gdb.base/maint.exp (maint print statistics): Increase timeout for
- all targets. Restore old timeout afterwards.
-
* gdb.stabs/gdb11479.exp: Use runto_main.
# The timeout value is raised, because printing all the symbols and
# statistical information about Cygwin and Windows libraries takes a lot
-# of time. This has been noticed on some linux systems too, so just raise
-# the timeout globally.
-set oldtimeout $timeout
-set timeout [expr $timeout + 500]
+# of time.
+if [istarget "*-*-cygwin*"] {
+ set oldtimeout $timeout
+ set timeout [expr $timeout + 500]
+}
send_gdb "maint print statistics\n"
gdb_expect {
timeout { fail "(timeout) maint print statistics" }
}
-set timeout $oldtimeout
-
# There aren't any ...
gdb_test_no_output "maint print dummy-frames"