Explorar o código

Use QWORD for CORE_ADDR if TARGET_IS_64BIT macro is set

git-svn-id: trunk@30064 -
pierre %!s(int64=10) %!d(string=hai) anos
pai
achega
cec67ade78
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      ide/gdbmiint.pas

+ 5 - 0
ide/gdbmiint.pas

@@ -25,7 +25,12 @@ uses
   gdbmiwrap;
 
 type
+{$ifdef TARGET_IS_64BIT}
+  { force 64bit if target compilation CPU is 64-bit address CPU }
+  CORE_ADDR = Qword;
+{$else}
   CORE_ADDR = PtrInt;
+{$endif}
 
   PPFrameEntry = ^PFrameEntry;
   PFrameEntry = ^TFrameEntry;