aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-11-15 17:25:09 +0000
committerDoug Evans <dje@google.com>2010-11-15 17:25:09 +0000
commitcb80163c46d401fb4e14934ac0e51f04e55237e7 (patch)
treed2467be87232a1aee5506d5d5800e7634cca4b8f /gdb/testsuite/gdb.base
parentf4704706befa246ea5b20503cba56a1d20e26858 (diff)
downloadgdb-cb80163c46d401fb4e14934ac0e51f04e55237e7.zip
gdb-cb80163c46d401fb4e14934ac0e51f04e55237e7.tar.gz
gdb-cb80163c46d401fb4e14934ac0e51f04e55237e7.tar.bz2
revert previous patch
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/maint.exp11
1 files changed, 5 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.base/maint.exp b/gdb/testsuite/gdb.base/maint.exp
index 2757740..8346bec 100644
--- a/gdb/testsuite/gdb.base/maint.exp
+++ b/gdb/testsuite/gdb.base/maint.exp
@@ -143,10 +143,11 @@ gdb_test "maint demangle main" "Can't demangle \"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 {
@@ -162,8 +163,6 @@ gdb_expect {
timeout { fail "(timeout) maint print statistics" }
}
-set timeout $oldtimeout
-
# There aren't any ...
gdb_test_no_output "maint print dummy-frames"