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

martin lazarus at mfriebe.de
Tue Jun 25 11:07:10 CEST 2013


On 25/06/13 07:49, Petr Kristan wrote:
> Thank you for the fast response. I try it, but I get this message:
> Debugger: Initialization output: &"Undefined command: \"\". Try \"help\".\n
>
> In processes i have
> /usr/bin/gdb -silent -i mi -nx --eval-command="handle SIGPIPE nostop noprint pass"
>
> But gdb already stops on SIGPIPE.
>
> If I try run
> /usr/bin/gdb -silent -i mi -nx --eval-command="handle SIGPIPE nostop noprint pass"
> from bash, then it works ok.

Did you try single quotes ?
looks like the parts of the command line are not correctly broken into 
individual args.





More information about the Lazarus mailing list