]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* lib/gdb.exp (default_gdb_init): Increase expect buffer size
authorJoel Brobecker <brobecker@gnat.com>
Thu, 23 Aug 2007 20:10:04 +0000 (20:10 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 23 Aug 2007 20:10:04 +0000 (20:10 +0000)
        to 30000 (from 20000).

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 2239bf15afc2101de1aae6d69091a0b2c3b56eed..18b32968878467b6b219dc16de0723929984757b 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * lib/gdb.exp (default_gdb_init): Increase expect buffer size
+       to 30000 (from 20000).
+
 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
 
        Switch the license of all .exp files to GPLv3.
index 18c24549a06b648eb7ffd1b17d9b9b6800134750..bfaf3116a3a3eef53edf59af2482b234a928e223 100644 (file)
@@ -2085,9 +2085,10 @@ proc default_gdb_init { args } {
     # with the appropriate multilib option.
     set gdb_wrapper_initialized 0
     
-    # Uh, this is lame. Really, really, really lame. But there's this *one*
-    # testcase that will fail in random places if we don't increase this.
-    match_max -d 20000
+    # Unlike most tests, we have a small number of tests that generate
+    # a very large amount of output.  We therefore increase the expect
+    # buffer size to be able to contain the entire test output.
+    match_max -d 30000
 
     # We want to add the name of the TCL testcase to the PASS/FAIL messages.
     if { [llength $args] > 0 } {