diff options
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 4bb4b057789..c12e540f226 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -64,12 +64,15 @@ set fullname_syntax_DOS_CASE {\\[^\\].*\\} # The variable fullname_syntax_DOS is a regexp which matches a DOS path # ie. a:\foo\ && a:foo\ set fullname_syntax_DOS {[a-zA-Z]:.*\\} +# The variable fullname_syntax_DOS_cygwin is a regexp which matches a DOS path +# as occasionally generated by Cygwin, ie. a:/foo/. +set fullname_syntax_DOS_cygwin {[a-zA-Z]:.*/} # The variable fullname_syntax is a regexp which matches what GDB considers # an absolute path. It is currently debatable if the Windows style paths # d:foo and \abc should be considered valid as an absolute path. # Also, the purpse of this regexp is not to recognize a well formed # absolute path, but to say with certainty that a path is absolute. -set fullname_syntax "($fullname_syntax_POSIX|$fullname_syntax_UNC|$fullname_syntax_DOS_CASE|$fullname_syntax_DOS)" +set fullname_syntax "($fullname_syntax_POSIX|$fullname_syntax_UNC|$fullname_syntax_DOS_CASE|$fullname_syntax_DOS|$fullname_syntax_DOS_cygwin)" # Needed for some tests under Cygwin. global EXEEXT |