mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-23 18:09:36 +01:00
+ Use using_cygwin_gdb boolean, to convert path
git-svn-id: trunk@29730 -
This commit is contained in:
parent
6b1c38537b
commit
d0cfebc351
@ -565,7 +565,11 @@ begin
|
|||||||
{$ifdef Windows}
|
{$ifdef Windows}
|
||||||
{$ifndef USE_MINGW_GDB} // see mantis 11968 because of mingw build. MvdV
|
{$ifndef USE_MINGW_GDB} // see mantis 11968 because of mingw build. MvdV
|
||||||
{ for Windows we should convert e:\ into //e/ PM }
|
{ for Windows we should convert e:\ into //e/ PM }
|
||||||
if (length(st)>2) and (st[2]=':') and (st[3]='/') then
|
if
|
||||||
|
{$ifdef GDBMI}
|
||||||
|
using_cygwin_gdb and
|
||||||
|
{$endif}
|
||||||
|
(length(st)>2) and (st[2]=':') and (st[3]='/') then
|
||||||
st:=CygDrivePrefix+'/'+st[1]+copy(st,3,length(st));
|
st:=CygDrivePrefix+'/'+st[1]+copy(st,3,length(st));
|
||||||
{$endif}
|
{$endif}
|
||||||
{ support spaces in the name by escaping them but without changing '\ ' into '\\ ' }
|
{ support spaces in the name by escaping them but without changing '\ ' into '\\ ' }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user