浏览代码

* the definition of CORE_ADDR moved from gdbmiint to gdbmiwrap, because we're
going to use it there as well

git-svn-id: trunk@30069 -

nickysn 10 年之前
父节点
当前提交
2adee6834c
共有 2 个文件被更改,包括 8 次插入6 次删除
  1. 1 6
      ide/gdbmiint.pas
  2. 7 0
      ide/gdbmiwrap.pas

+ 1 - 6
ide/gdbmiint.pas

@@ -27,12 +27,7 @@ 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}
+  CORE_ADDR = gdbmiwrap.CORE_ADDR;
 
   PPFrameEntry = ^PFrameEntry;
   PFrameEntry = ^TFrameEntry;

+ 7 - 0
ide/gdbmiwrap.pas

@@ -26,6 +26,13 @@ uses
   SysUtils, Classes, GDBMIProc;
 
 type
+{$ifdef TARGET_IS_64BIT}
+  { force 64bit if target compilation CPU is 64-bit address CPU }
+  CORE_ADDR = Qword;
+{$else}
+  CORE_ADDR = PtrInt;
+{$endif}
+
   TGDBMI_TupleValue = class;
   TGDBMI_ListValue = class;
   TGDBMI_Value = class