]> git.pld-linux.org Git - packages/fpc.git/blob - fpc-gdb.patch
- fix building with gdb 7.11.x
[packages/fpc.git] / fpc-gdb.patch
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,28 @@
4  
5  {$undef GDB_VERSION_RECOGNIZED}
6  
7 +{ 7.11.x }
8 +{$ifdef GDB_V711}
9 +  {$info using gdb 7.11.x}
10 +  {$define GDB_VERSION_RECOGNIZED}
11 +  {$define GDB_VER_GE_711}
12 +{$endif}
13 +
14 +{$ifdef GDB_VER_GE_711}
15 +  {$define GDB_VER_GE_710}
16 +{$endif}
17 +
18 +{ 7.10.x }
19 +{$ifdef GDB_V710}
20 +  {$info using gdb 7.10.x}
21 +  {$define GDB_VERSION_RECOGNIZED}
22 +  {$define GDB_VER_GE_710}
23 +{$endif}
24 +
25 +{$ifdef GDB_VER_GE_710}
26 +  {$define GDB_VER_GE_709}
27 +{$endif}
28 +
29  { 7.9.x }
30  {$ifdef GDB_V709}
31    {$info using gdb 7.9.x}
This page took 0.040703 seconds and 3 git commands to generate.