>
>>It seems best to me to only use exp_continue in cases we won't to
>>consume/skip output, and in the case of this patch, split the two
>>tests into two consecutive gdb_expects.
>
>If this way, we can't handle that two notifications arrive in a
>reversed order (which is also correct).
This seems to be crux of the issue here. I don't understand how
reverse order would be correct. This:
=breakpoint-modified,bkpt={number="1",type="tracepoint".*.*times=\"0\".*installed="n"
=breakpoint-modified,bkpt={number="1",type="tracepoint".*.*times=\"0\".*installed="y"
means the frontend ends up thinking the tracepoint is installed, while this:
=breakpoint-modified,bkpt={number="1",type="tracepoint".*.*times=\"0\".*installed="y"
=breakpoint-modified,bkpt={number="1",type="tracepoint".*.*times=\"0\".*installed="n"
means the frontend ends up thinking the tracepoint is not installed, which
I'd think is not what we want in this test.