]> Git Repo - binutils.git/commitdiff
revert previous patch
authorDoug Evans <[email protected]>
Mon, 15 Nov 2010 17:25:09 +0000 (17:25 +0000)
committerDoug Evans <[email protected]>
Mon, 15 Nov 2010 17:25:09 +0000 (17:25 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/maint.exp

index 14285cff40db5fd1619d2eecc7c5426f221a46bc..d3d76ef06f97134884fa605554800f5f5cc34695 100644 (file)
@@ -1,8 +1,3 @@
-2010-11-15  Doug Evans  <[email protected]>
-
-       * gdb.base/maint.exp (maint print statistics): Increase timeout for
-       all targets.  Restore old timeout afterwards.
-
 2010-11-12  Nathan Froyd  <[email protected]>
 
        * gdb.stabs/gdb11479.exp: Use runto_main.
index 27577409abd224ca56819152e768a3aaea8628bb..8346bec8b319428421d3fb348c488fbd62f59518 100644 (file)
@@ -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"
 
This page took 0.083181 seconds and 4 git commands to generate.