From 8f948c0814f308f859e9c214c992627fe05dc6b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 20 Oct 2006 19:57:40 +0000 Subject: [PATCH] - fix debugger build with gdb 6.5 Changed files: fpc-gdb65.patch -> 1.1 --- fpc-gdb65.patch | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 fpc-gdb65.patch diff --git a/fpc-gdb65.patch b/fpc-gdb65.patch new file mode 100644 index 0000000..954a97d --- /dev/null +++ b/fpc-gdb65.patch @@ -0,0 +1,40 @@ +--- fpcbuild_2.0.4_exp/fpcsrc/packages/base/gdbint/gdbint.pp~ 2006-07-30 13:02:06.000000000 +0200 ++++ fpcbuild_2.0.4_exp/fpcsrc/packages/base/gdbint/gdbint.pp 2006-10-20 20:45:42.042128766 +0200 +@@ -34,6 +34,10 @@ + {$define GDB_V6} + {$endif def GDB_V604} + ++{$ifdef GDB_V605} ++ {$define GDB_V6} ++{$endif def GDB_V605} ++ + + {$ifdef GDB_V6} + {$define GDB_HAS_SYSROOT} +--- fpcbuild_2.0.4_exp/fpcsrc/packages/base/gdbint/gdbint.pp~ 2006-10-20 20:47:50.483467953 +0200 ++++ fpcbuild_2.0.4_exp/fpcsrc/packages/base/gdbint/gdbint.pp 2006-10-20 20:53:38.618579164 +0200 +@@ -2369,9 +2369,11 @@ + version : array[0..0] of char;cvar;external; + + {$ifndef GDB_V604} ++{$ifndef GDB_V605} + // doesn't seem to exist anymore. Seems to work fine without + procedure error_init;cdecl;external; + {$endif} ++{$endif} + + function GDBVersion : string; + begin +--- fpcbuild_2.0.4_exp/fpcsrc/packages/base/gdbint/gdbint.pp~ 2006-10-20 20:56:13.897696959 +0200 ++++ fpcbuild_2.0.4_exp/fpcsrc/packages/base/gdbint/gdbint.pp 2006-10-20 20:59:27.565632486 +0200 +@@ -2428,8 +2428,10 @@ + set_ui_file_write(gdb_stdout,@gdbint_ui_file_write); + set_ui_file_write(gdb_stderr,@gdbint_ui_file_write); + {$ifndef GDB_V604} ++{$ifndef GDB_V605} + error_init; + {$endif} ++{$endif} + {$ifdef GDB_V6} + // gdb_stdtargin := gdb_stdin; + gdb_stdtargerr := gdb_stderr; -- 2.43.0