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: [patch] testsuite: MI: racy results in async mode (PR testsuite/12649)


On Thu, Oct 27, 2011 at 3:15 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> Hi,
>
> I was looking at some systematic-like regression but it was just a race again.
>
> The fix is ugly but it cannot be done better before there is a generic MI
> client parser deployed for the testsuite.

What does "generic MI client parser" mean in this context?

> $prompt_re is "" in this case, therefore the =breakpoint-deleted async
> notification is randomly left or swallowed by the end of regex in
> mi_expect_stop:
> ? ? ? ?-re "\\*stopped,${r}${a}${bn}frame=\{addr=\"$hex\",func=\"$func\",args=$args,file=\"$any$file\",fullname=\"${fullname_syntax}$file\",line=\"($line)\"\}$after_stopped,thread-id=\"$decimal\",stopped-threads=$any\r\n($thread_selected_re|$breakpoint_re)*$prompt_re" {
>
> No regressions on {x86_64,x86_64-m32,i686}-fedora16pre-linux-gnu and with
> gdbserver.
>
> I will check it in in some time.


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