diff options
author | Yao Qi <yao@codesourcery.com> | 2014-03-31 14:20:05 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-03-31 15:00:28 +0800 |
commit | 46e2bafa7a77fb852862a89bca861ba39d9cdb8e (patch) | |
tree | ec84783a6ed522bd64e815e7752cd00d0f76a8af /ld | |
parent | ddb223fe95bc5ab8a74b21b7390021ea8865ccb5 (diff) | |
download | gdb-46e2bafa7a77fb852862a89bca861ba39d9cdb8e.zip gdb-46e2bafa7a77fb852862a89bca861ba39d9cdb8e.tar.gz gdb-46e2bafa7a77fb852862a89bca861ba39d9cdb8e.tar.bz2 |
Allow ';' as a directory separator
Hi,
I find two fails in source-dir.exp on mingw32 host.
(gdb) directory /nOtExStInG/a /nOtExStInG/b /nOtExStInG/c^M
Warning: /nOtExStInG/a: No such file or directory.^M
Warning: /nOtExStInG/b: No such file or directory.^M
Warning: /nOtExStInG/c: No such file or directory.^M
Source directories searched: /nOtExStInG/a;/nOtExStInG/b;/nOtExStInG/c;$cdir;$cwd^M
(gdb) FAIL: gdb.base/source-dir.exp: directory /nOtExStInG/a /nOtExStInG/b /nOtExStInG/c
directory /nOtExStInG/b /nOtExStInG/d /nOtExStInG/c^M
Warning: /nOtExStInG/b: No such file or directory.^M
Warning: /nOtExStInG/d: No such file or directory.^M
Warning: /nOtExStInG/c: No such file or directory.^M
Source directories searched: /nOtExStInG/b;/nOtExStInG/d;/nOtExStInG/c;/nOtExStInG/a;$cdir;$cwd^M
(gdb) FAIL: gdb.base/source-dir.exp: directory /nOtExStInG/b /nOtExStInG/d /nOtExStInG/c
The regular expression expects ':' and ';' is path separator on Windows.
This patch is to allow ';' as a path separator in regular expression.
This patch is similar to Dan's patch to fix a similar problem here
Re: directory separators on minGW hosts
https://sourceware.org/ml/gdb-patches/2006-02/msg00359.html
It is obvious. Pushed it in.
gdb/testsuite:
2014-03-31 Yao Qi <yao@codesourcery.com>
* gdb.base/source-dir.exp: Allow ';' as a directory separator.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions