Browse Source

+ added the gdb set commands from gdbint.pp to the gdb/mi interface

git-svn-id: trunk@29737 -
nickysn 10 years ago
parent
commit
f4e8c9da33
1 changed files with 7 additions and 0 deletions
  1. 7 0
      ide/gdbmiint.pas

+ 7 - 0
ide/gdbmiint.pas

@@ -226,6 +226,13 @@ begin
   GDBOutputBuf.Init;
   GDB := TGDBWrapper.Create;
   command_level := 0;
+{ other standard commands used for fpc debugging }
+  i_gdb_command('-gdb-set print demangle off');
+  i_gdb_command('-gdb-set gnutarget auto');
+  i_gdb_command('-gdb-set language auto');
+  i_gdb_command('-gdb-set print vtbl on');
+  i_gdb_command('-gdb-set print object on');
+  i_gdb_command('-gdb-set print null-stop');
 end;
 
 destructor TGDBInterface.Done;