[packages/fpc] - add gdb 7.5.x detection

baggins baggins at pld-linux.org
Sun Nov 18 23:40:30 CET 2012


commit 4d171a40c863ff8e713bb57c451416e1cc7a7d46
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Nov 18 23:39:17 2012 +0100

    - add gdb 7.5.x detection

 fpc-gdb.patch | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/fpc-gdb.patch b/fpc-gdb.patch
index 93f2bf3..b53f8b8 100644
--- a/fpc-gdb.patch
+++ b/fpc-gdb.patch
@@ -70,10 +70,30 @@
    {$define GDB_USES_BP_LOCATION}
    {$define GDB_BP_LOCATION_HAS_GLOBAL_NEXT}
    {$define GDB_NEEDS_NO_ERROR_INIT}
-@@ -120,13 +113,44 @@
+@@ -120,13 +113,64 @@
    {$define GDB_HAS_BP_NONE}
  {$endif def GDB_V608}
  
++{ 7.5.x }
++{$ifdef GDB_V705}
++  {$info using gdb 7.5.x}
++  {$define GDB_V7}
++  {$define GDB_BP_LOCATION_HAS_GDBARCH}
++  {$define GDB_HAS_PROGRAM_SPACE}
++  {$define GDB_NO_UIOUT}
++  {$define GDB_NEEDS_INTERPRETER_SETUP}
++  {$define GDB_NEEDS_SET_INSTREAM}
++  {$define GDB_NOTIFY_BREAKPOINT_ARG_IS_BREAKPOINT_PTR}
++  {$define GDB_USES_BP_OPS}
++  {$define GDB_BP_TI_HAS_LENGTH}
++  {$define GDB_BP_LOCATION_HAS_REFCOUNT}
++  {$define GDB_BP_LOCATION_HAS_OPS}
++  {$define GDB_UI_FILE_HAS_WRITE_ASYNC}
++  {$ifdef win32}
++      {$define GDB_USES_LIBADVAPI32}
++  {$endif win32}
++{$endif def GDB_V705}
++
 +{ 7.4.x }
 +{$ifdef GDB_V704}
 +  {$info using gdb 7.4.x}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fpc.git/commitdiff/2844e15aa9c832ffb7ddef809b9de77df2f1fec7



More information about the pld-cvs-commit mailing list