瀏覽代碼

* use a gdb/mi command when clearing the exe in TDebugController.SetExe

git-svn-id: trunk@29722 -
nickysn 10 年之前
父節點
當前提交
3deac03582
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      ide/fpdebug.pas

+ 4 - 0
ide/fpdebug.pas

@@ -703,7 +703,11 @@ begin
     begin
       HasExe:=false;
       reset_command:=true;
+{$ifdef GDBMI}
+      Command('-file-exec-and-symbols');
+{$else GDBMI}
       Command('file');
+{$endif GDBMI}
       reset_command:=false;
     end;
 end;