aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-10-05 06:27:46 +0000
committerPierre Muller <muller@sourceware.org>2009-10-05 06:27:46 +0000
commit8d417781d6d279b118e21a63f96aca8e13c2dc51 (patch)
treeb1909df45eaf877ea51b961279955e02ceb53f4e
parentb46dc4e34b1db3d390d61408fbd9773cec141016 (diff)
downloadgdb-8d417781d6d279b118e21a63f96aca8e13c2dc51.zip
gdb-8d417781d6d279b118e21a63f96aca8e13c2dc51.tar.gz
gdb-8d417781d6d279b118e21a63f96aca8e13c2dc51.tar.bz2
* lib/gdb.exp (default_gdb_init): Set current value of match_max
to default.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 6eec2a8..bdd4127 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index c911517..4871494 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -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 } {