[Lazarus] How to exec some gdb command on start in lazarus

hovercraft hovercraft at yandex.ru
Tue Dec 3 03:18:52 CET 2013


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.




More information about the Lazarus mailing list