From: Pierre Muller Date: Mon, 5 Oct 2009 06:27:46 +0000 (+0000) Subject: * lib/gdb.exp (default_gdb_init): Set current value of match_max X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d417781d6d279b118e21a63f96aca8e13c2dc51;p=binutils-gdb.git * lib/gdb.exp (default_gdb_init): Set current value of match_max to default. --- 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 } {