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] Fix mingw32 failures due to incorrect directory separator in pattern


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?


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