This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] GDB/testsuite: Bump up `match_max'
- From: Tom Tromey <tromey at redhat dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 19 May 2014 08:18:08 -0600
- Subject: Re: [PATCH] GDB/testsuite: Bump up `match_max'
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 1 dot 10 dot 1405172136000 dot 12061 at tp dot orcam dot me dot uk>
>>>>> "Maciej" == Maciej W Rozycki <macro@codesourcery.com> writes:
Maciej> 2014-05-17 Maciej W. Rozycki <macro@codesourcery.com>
Maciej> gdb/testsuite/
Maciej> * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
Maciej> 30000 to 65536.
Ok.
I wonder whether you timed the test suite?
The expect man page says:
This may be changed with the function match_max. (Note that excessively
large values can slow down the pattern matcher.)
If it is notably slower then it would be better to rewrite the macro
tests to avoid this need.
Tom