Explorar el Código

Use QWORD for CORE_ADDR if TARGET_IS_64BIT macro is set

git-svn-id: trunk@30064 -
pierre hace 10 años
padre
commit
cec67ade78
Se han modificado 1 ficheros con 5 adiciones y 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;