Sfoglia il codice sorgente

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

git-svn-id: trunk@29722 -
nickysn 10 anni fa
parent
commit
3deac03582
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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;