Browse Source

Add missing field enable_count in breakpoint record (added in 7.5 release)

git-svn-id: trunk@26494 -
pierre 11 years ago
parent
commit
76c40a49db
1 changed files with 16 additions and 1 deletions
  1. 16 1
      packages/gdbint/src/gdbint.pp

+ 16 - 1
packages/gdbint/src/gdbint.pp

@@ -59,6 +59,17 @@ interface
 
 
 {$undef GDB_VERSION_RECOGNIZED}
 {$undef GDB_VERSION_RECOGNIZED}
 
 
+{ 7.7.x }
+{$ifdef GDB_V706}
+  {$info using gdb 7.7.x}
+  {$define GDB_VERSION_RECOGNIZED}
+  {$define GDB_VER_GE_707}
+{$endif}
+
+{$ifdef GDB_VER_GE_707}
+  {$define GDB_VER_GE_706}
+{$endif}
+
 { 7.6.x }
 { 7.6.x }
 {$ifdef GDB_V706}
 {$ifdef GDB_V706}
   {$info using gdb 7.6.x}
   {$info using gdb 7.6.x}
@@ -69,6 +80,7 @@ interface
 {$ifdef GDB_VER_GE_706}
 {$ifdef GDB_VER_GE_706}
   {$define GDB_VER_GE_705}
   {$define GDB_VER_GE_705}
 {$endif}
 {$endif}
+
 { 7.5.x }
 { 7.5.x }
 {$ifdef GDB_V705}
 {$ifdef GDB_V705}
   {$info using gdb 7.5.x}
   {$info using gdb 7.5.x}
@@ -80,6 +92,7 @@ interface
   {$define GDB_VER_GE_704}
   {$define GDB_VER_GE_704}
   {$define GDB_BP_LOCATION_HAS_COND_BYTECODE}
   {$define GDB_BP_LOCATION_HAS_COND_BYTECODE}
   {$define GDB_BP_LOCATION_HAS_RELATED_ADDRESS}
   {$define GDB_BP_LOCATION_HAS_RELATED_ADDRESS}
+  {$define GDB_BP_HAS_ENABLE_COUNT}
 {$endif}
 {$endif}
 
 
 { 7.4.x }
 { 7.4.x }
@@ -1050,8 +1063,10 @@ type
 {$ifdef GDB_USES_BP_OPS}
 {$ifdef GDB_USES_BP_OPS}
           display_canonical: byte;
           display_canonical: byte;
 {$endif GDB_USES_BP_OPS}
 {$endif GDB_USES_BP_OPS}
-
           ignore_count : longint;
           ignore_count : longint;
+{$ifdef GDB_BP_HAS_ENABLE_COUNT}
+          enable_count : longint;
+{$endif GDB_BP_HAS_ENABLE_COUNT}
 {$ifndef GDB_USES_BP_LOCATION}
 {$ifndef GDB_USES_BP_LOCATION}
           shadow_contents : array[0..15] of char;
           shadow_contents : array[0..15] of char;
           inserted : char;
           inserted : char;