Dear Philippe, You help is highly appreciated.
Best regards, Zvika. On 7/7/12, Philippe Waroquiers <[email protected]> wrote: > On Fri, 2012-07-06 at 13:50 +0300, Zvi Vered wrote: > < Hello, > < Is it possible to stop running an application with valgrind upon the > < first error valgrind finds ? > < > > If 'stop running' so that you can examine in depth what > is the cause of the error, then you can use Valgrind gdbserver > (you need Valgrind >= 3.7.0) for that. > Give the option --vgdb-error=1, and then you can connect > with gdb to the Valgrind embedded gdbserver. > > If by 'stop running', you mean kill your application so that it > exits with error, then I think you might be able to obtain > that by using --db-attach=yes and > "--db-command=kill -9 %p" > or something like that (not tried). > > Philippe > > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
