From d0cfebc3516a8a4373a33e535c03588136cf59af Mon Sep 17 00:00:00 2001 From: pierre Date: Mon, 16 Feb 2015 20:50:47 +0000 Subject: [PATCH] + Use using_cygwin_gdb boolean, to convert path git-svn-id: trunk@29730 - --- ide/fpdebug.pas | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ide/fpdebug.pas b/ide/fpdebug.pas index 1b33a79b6f..75b450b0ad 100644 --- a/ide/fpdebug.pas +++ b/ide/fpdebug.pas @@ -565,7 +565,11 @@ begin {$ifdef Windows} {$ifndef USE_MINGW_GDB} // see mantis 11968 because of mingw build. MvdV { 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)); {$endif} { support spaces in the name by escaping them but without changing '\ ' into '\\ ' }