This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] Fix timeouts in break-interp.exp on slow machines

Jan Kratochvil wrote:
> On Tue, 12 Oct 2010 19:20:29 +0200, Ulrich Weigand wrote:
> > This is once again caused by a gdb_expect clause with a ".*" wildcard that
> > matches a large number of lines.  This can cause expect to slow down
> > significantly, to the extent that the tests time out on slow machines.
> OK, thanks for the fix.  I do not have the slowness reproducible here but
> I thought gdb_expect is deprecated in the favor of gdb_test_multiple.
> I do not mind but just curious if it could be rather coded this way or it
> would be still slow/incompatible by the more patterns of gdb_test_multiple?

Ah, I wasn't aware you could use gdb_test_multiple with an empty
string to send to GDB!  That's even better, of course.

> 2010-10-12  Jan Kratochvil  <>
> 	* gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
> 	gdb_test_multiple.

This still works for me (no timeouts) on armv7l-linux-gnueabi.


  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]