forked from enlightenment/enlightenment
e: when valgrind is on, no need to ptrace anything.
SVN revision: 80042
This commit is contained in:
parent
fe5d6d01c1
commit
d6b04df109
|
@ -403,6 +403,9 @@ main(int argc, char **argv)
|
||||||
copy_args(args + i, argv + 1, argc - 1);
|
copy_args(args + i, argv + 1, argc - 1);
|
||||||
args[i + argc - 1] = NULL;
|
args[i + argc - 1] = NULL;
|
||||||
|
|
||||||
|
if (valgrind_tool || valgrind_mode)
|
||||||
|
really_know = EINA_TRUE;
|
||||||
|
|
||||||
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || \
|
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || \
|
||||||
(defined (__MACH__) && defined (__APPLE__))
|
(defined (__MACH__) && defined (__APPLE__))
|
||||||
execv(args[0], args);
|
execv(args[0], args);
|
||||||
|
|
Loading…
Reference in New Issue