* lib/gdb.exp (default_gdb_init): Set current value of match_max
authorPierre Muller <muller@sourceware.org>
Mon, 5 Oct 2009 06:27:46 +0000 (06:27 +0000)
committerPierre Muller <muller@sourceware.org>
Mon, 5 Oct 2009 06:27:46 +0000 (06:27 +0000)
to default.

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

index 6eec2a8..bdd4127 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * lib/gdb.exp (default_gdb_init): Set current value of match_max 
+       to default.
+
 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for 
index c911517..4871494 100644 (file)
@@ -2333,6 +2333,8 @@ proc default_gdb_init { args } {
     # 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
+    # Also set this value for the currently running GDB. 
+    match_max [match_max -d]
 
     # We want to add the name of the TCL testcase to the PASS/FAIL messages.
     if { [llength $args] > 0 } {