Anlin Zhang wrote: > The thing is, Valgrind tend to log the summary just before it exit. If > the process is killed (this is what our test engineers did because there > is no console for it anymore), then the summary is not writen to the log > file. In order to get the summary, we have to bring the process to the > foreground with the same console, and do Ctrl-C. Maybe there is a way to > bring a process started with another console to the front of a new > console, but I don't know the way yet.
Doing Ctrl-C is exactly the same as sending SIGINT with kill, so if one does what you want then so should the other. Note that by default kill will send SIGTERM and I don't know without looking how valgrind will react to that - it may well depend on whether your program installs a handler for SIGTERM anyway. Tom -- Tom Hughes ([email protected]) http://www.compton.nu/ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
