From 2d5056755670d6280d039752dccf702d52e9240f Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 21 May 2013 14:58:05 +0100 Subject: [PATCH] set valgrind num-callers to 40 in e_start --- src/bin/e_start_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_start_main.c b/src/bin/e_start_main.c index 2c6852604..17a1b4c26 100644 --- a/src/bin/e_start_main.c +++ b/src/bin/e_start_main.c @@ -96,7 +96,7 @@ next: } /* maximum number of arguments added above */ -#define VALGRIND_MAX_ARGS 10 +#define VALGRIND_MAX_ARGS 11 /* bitmask with all supported bits set */ #define VALGRIND_MODE_ALL 15 @@ -119,6 +119,7 @@ valgrind_append(char **dst, int valgrind_gdbserver, int valgrind_mode, int valgr if (valgrind_gdbserver) dst[i++] = "--db-attach=yes"; if (!valgrind_mode) return 0; dst[i++] = valgrind_path; + dst[i++] = "--num-callers=40"; dst[i++] = "--track-origins=yes"; dst[i++] = "--malloc-fill=13"; /* invalid pointer, make it crash */ if (valgrind_log)