[OBV/PUSHED][PATCH] testsuite: ovldbreak.exp: fix regexp

Alan Hayward Alan.Hayward@arm.com
Fri Oct 19 15:21:00 GMT 2018


> On 19 Oct 2018, at 15:17, Pedro Alves <palves@redhat.com> wrote:
> 
> On 10/19/2018 11:12 AM, Alan Hayward wrote:
>> Fix the layout used in the regexp for breakpoints.
>> 
>> Fixes two FAILS.
>> 
> 
> Curious, it doesn't fail for me.  What changed?

Two things:

Info breakpoint - the gaps between the fields. Some parts of the regexp
was just checking for 5 spaces, some parts were checking spaces+tabs.
It was also inconsistent throughout the .exp file - the exact same gaps
are checked differently. Made sure they were all spaces+tab checks.

On both x86 and aarch64, for the breakpoint at main, I get line 48 - the
“{“, instead of line 49, the first actual line of code. Allowed it to
have either. Maybe better fix would be to lookup the line number.


Alan.


More information about the Gdb-patches mailing list