This is the mail archive of the gdb-patches@sourceware.org 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: RFA: Fix multi-fork.exp for good


On Sat, Dec 29, 2007 at 04:59:38AM -0800, Jim Blandy wrote:
> Or at least, I hope so.  I was getting occasional timeouts from
> interactions after the follow-parent tests on loaded machines.  Set a
> few windows doing 'while true; do :; done' and give it a try.

Thanks.  I saw this behavior too; your patch looks good to me.

> +    # We don't know what order the interesting things will arrive in.
> +    # Using a pattern of the form 'x|y|z' instead of -re x ... -re y
> +    # ... -re z ensures that expect always chooses the match that
> +    # occurs leftmost in the input, and not the pattern appearing
> +    # first in the script that occurs anywhere in the input, so that
> +    # we don't skip anything.

Cute trick!

-- 
Daniel Jacobowitz
CodeSourcery


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