[PATCH] Fix mingw32 failures due to incorrect directory separator in pattern

Luis Machado lgustavo@codesourcery.com
Tue Oct 14 10:41:00 GMT 2014


On 10/03/2014 01:59 PM, Luis Machado wrote:
> Hi,
>
> Some testcases, mostly gdb.reverse ones, assume the presence of a '/'
> directory separator before the source file name. This is incorrect for
> mingw32 hosts, generating false failures for those tests.
>
> I attempted to catch most of the occurrences of the pattern
> ".*/$srcfile" and replaced them with ".*$srcfile". The latter is used
> elsewhere in the testsuite. The resulting patch is attached.
>
> I also see other occurrences of the same assumption throughout the
> testsuite, but usually they are arguments for function calls and i seem
> to recall either the test harness or GDB deals with those paths properly.
>
> Is the attached OK?
>
> Luis

ping?



More information about the Gdb-patches mailing list