Nicholas Nethercote 82c053aafc Remove some more global variables from vg_include.h, replacing them with
(fewer) functions.

Also fixed execve() so that it works better with .in_place.

Also added a regression test for --trace-children=yes (there were none!)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2577
2004-08-09 12:21:57 +00:00

10 lines
176 B
C

#include <assert.h>
#include <unistd.h>
int main(void)
{
execve(NULL, NULL, NULL);
execve("../../tests/true", NULL, NULL);
assert(0); // shouldn't get here
}