Hi,


1.Is it possible to execute valgrind on forked process and not on parent 
process that created it?

2. when I run it with parent process with option --trace-children=yes I get 
output like this:



==27734== Memcheck, a memory error detector

==27734== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.

==27734== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info

==27734== Command: ./itcp

==27734== Parent PID: 18155

==27734== 

==27734== Warning: invalid file descriptor -1 in syscall close()

==27734== Warning: invalid file descriptor -1 in syscall close()





Thanks,

Kinshuk




------------------------------------------------------------------------------
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to