[PATCH] Fix mingw32 failures due to incorrect directory separator in pattern
Luis Machado
lgustavo@codesourcery.com
Fri Oct 3 17:00:00 GMT 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw32_paths.diff
Type: text/x-patch
Size: 44634 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20141003/4682288b/attachment.bin>
More information about the Gdb-patches
mailing list