summaryrefslogtreecommitdiff
path: root/ide/fp.pas
diff options
context:
space:
mode:
authormarco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2>2009-05-17 12:22:41 +0000
committermarco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2>2009-05-17 12:22:41 +0000
commit1d20a4953d120c3fe2f561beb0308eb36d14ddde (patch)
tree3ab85736da5b14ba947a8cabb641ae6c3a304d48 /ide/fp.pas
parentad7ded0dbb04ddd139ffa0643ad55d5b7e88ebbf (diff)
downloadfpc-1d20a4953d120c3fe2f561beb0308eb36d14ddde.tar.gz
* mingw textmode IDE debugging support. First working version (for me), atexit handler for mingw and cygwin stuff under ifndef USE_MINGW_GDB
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@13157 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'ide/fp.pas')
-rw-r--r--ide/fp.pas8
1 files changed, 7 insertions, 1 deletions
diff --git a/ide/fp.pas b/ide/fp.pas
index 7a45de23b0..a5394fdeb6 100644
--- a/ide/fp.pas
+++ b/ide/fp.pas
@@ -37,7 +37,11 @@ uses
{$endif Windows}
{$ifndef NODEBUG}
{$ifdef Windows}
- fpcygwin,
+ {$ifdef USE_MINGW_GDB}
+ fpmingw,
+ {$else}
+ fpcygwin,
+ {$endif}
{$endif Windows}
{$endif NODEBUG}
{$ifdef IDEHeapTrc}
@@ -354,8 +358,10 @@ BEGIN
{$ifndef NODEBUG}
writeln(bullet+' GDB Version '+GDBVersion);
{$ifdef Windows}
+ {$ifndef USE_MINGW_GDB}
writeln(bullet+' Cygwin "',GetCygwinFullName,'" version ',GetCygwinVersionString);
CheckCygwinVersion;
+ {$endif}
{$endif Windows}
{$endif NODEBUG}