Browse Source

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

git-svn-id: trunk@29722 -
nickysn 10 years ago
parent
commit
3deac03582
1 changed files with 4 additions and 0 deletions
  1. 4 0
      ide/fpdebug.pas

+ 4 - 0
ide/fpdebug.pas

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