From 8d417781d6d279b118e21a63f96aca8e13c2dc51 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Mon, 5 Oct 2009 06:27:46 +0000 Subject: [PATCH] * lib/gdb.exp (default_gdb_init): Set current value of match_max to default. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/gdb.exp | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6eec2a8e093..bdd4127a2a9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-10-05 Pierre Muller + + * lib/gdb.exp (default_gdb_init): Set current value of match_max + to default. + 2009-10-02 Pierre Muller * 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 c91151701b3..4871494545b 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 } { -- 2.30.2