On Mon, Jun 24, 2013 at 04:31:10PM +0100, martin wrote: > On 24/06/13 16:11, Petr Kristan wrote: > >Hallo > > > >I want to send this command to gdb: > > > >handle SIGPIPE nostop noprint pass > > > >to ignore SIGPIPE. > >I set it in my ~/.gdbinit, but Lazarus ignores it. > > > >I tried write it to Debugger_Startup_Options, but without success. > > > > the Debugger_Startup_Options, would be like > > --eval-command="handle SIGPIPE nostop noprint pass" > > if you are on windows IIRC gdb does not take this option. 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. Petr -- Petr Kristan . EPOS PRO s.r.o., Smilova 333, 530 02 Pardubice tel: +420 461101401 Czech Republic (Eastern Europe) fax: +420 461101481 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
