]> git.pld-linux.org Git - packages/fpc.git/blame_incremental - fpc-gdb.patch
- disable gdb in IDE, it hasn't bee updated for ages and is broken with gdb 8.0
[packages/fpc.git] / fpc-gdb.patch
... / ...
CommitLineData
1--- fpcbuild-2.6.4/fpcsrc/packages/gdbint/src/gdbint.pp~ 2016-04-01 17:53:51.000000000 +0900
2+++ fpcbuild-2.6.4/fpcsrc/packages/gdbint/src/gdbint.pp 2016-04-01 23:08:14.978738263 +0900
3@@ -59,6 +59,40 @@
4
5 {$undef GDB_VERSION_RECOGNIZED}
6
7+{ 8.0 }
8+{$ifdef GDB_V800}
9+ {$info using gdb 8.0.x}
10+ {$define GDB_VERSION_RECOGNIZED}
11+ {$define GDB_VER_GE_800}
12+ {$LINKLIB stdc++}
13+{$endif}
14+
15+{$ifdef GDB_VER_GE_800}
16+ {$define GDB_VER_GE_711}
17+{$endif}
18+
19+{ 7.11.x }
20+{$ifdef GDB_V711}
21+ {$info using gdb 7.11.x}
22+ {$define GDB_VERSION_RECOGNIZED}
23+ {$define GDB_VER_GE_711}
24+{$endif}
25+
26+{$ifdef GDB_VER_GE_711}
27+ {$define GDB_VER_GE_710}
28+{$endif}
29+
30+{ 7.10.x }
31+{$ifdef GDB_V710}
32+ {$info using gdb 7.10.x}
33+ {$define GDB_VERSION_RECOGNIZED}
34+ {$define GDB_VER_GE_710}
35+{$endif}
36+
37+{$ifdef GDB_VER_GE_710}
38+ {$define GDB_VER_GE_709}
39+{$endif}
40+
41 { 7.9.x }
42 {$ifdef GDB_V709}
43 {$info using gdb 7.9.x}
This page took 0.074354 seconds and 4 git commands to generate.