This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New gdb.mi/mi-breakpoint-changed.exp racy results [Re: [PATCH] Test case on breakpoint-related notifications]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 11 Oct 2012 09:21:20 +0200
- Subject: Re: New gdb.mi/mi-breakpoint-changed.exp racy results [Re: [PATCH] Test case on breakpoint-related notifications]
- References: <1348552864-30499-1-git-send-email-yao@codesourcery.com> <20120930090736.GA25208@host2.jankratochvil.net> <50717295.20802@codesourcery.com>
On Sun, 07 Oct 2012 14:16:21 +0200, Yao Qi wrote:
> I can't reproduce it either on my system. However, it looks like fail
> is caused by some trail ".*" in patterns, because trail ".*" is
> ambiguous on how many characters will be matched. The patch below
> should fix the fail.
>
> --
> Yao
>
> gdb/testsuite:
>
> 2012-10-07 Yao Qi <yao@codesourcery.com>
>
> * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
> trail '.*' on matching patterns.
It seems to fix the problem, please check it in.
Thanks,
Jan