speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Correctly use execlp to specify module image name.


From: Trevor Saunders
Subject: [PATCH] Correctly use execlp to specify module image name.
Date: Sat, 19 Mar 2011 10:14:01 -0400

Hi,

> >> -                  //if (execlp("valgrind", "" ,"--trace-children=yes", 
> >> module->filename, arg1, arg2, (char *) 0) == -1){
> > 
> > I have no idea why that cruft is there, but as far as I can see there is
> > no reason for it and it should just go away while your touching this.
> 
> I did not want to touch it since it might be useful for debugging with 
> valgrind
> (it probably was).

no, it is not useful, and it is not needed for valgrinding the modules,
I would suggest you read the valgrind man page, particularly the part
about --trace-children and --log-file the summary is if you want to
valgrind the modules do something like 

valgrind --trace-children=yes --log-file='./speechd-valgrind/%p.log' 
speech-dispatcher

Trev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20110319/048b68f6/attachment.pgp>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]