It may be a late reply, but for somebody interested: it is possible to
achieve this by altering lazarus source file debugger/gdbmidebugger.pp (as
previously mentioned by Martin). But line actually should be 
if (Assigned(FTheDebugger)) then
FTheDebugger.ExecuteCommand('handle SIGPIPE ignore noprint pass', [],
[cfNoMiCommand, cfIgnoreState, cfExternal]);
after the "ExecuteCommand('-gdb-set language pascal', [cfCheckError]); "
line.
In the Lazarus v1.0.12 this is somewhere near line  4344



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-to-exec-some-gdb-command-on-start-in-lazarus-tp4032050p4034635.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to