From: Julian Seward Date: Mon, 3 Oct 2011 16:15:16 +0000 (+0000) Subject: Limit number of backtrace frames to 3 so as to avoid junk frames. X-Git-Tag: svn/VALGRIND_3_7_0~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef47922e1a3f1fa1d6797626059b01f8389b2733;p=thirdparty%2Fvalgrind.git Limit number of backtrace frames to 3 so as to avoid junk frames. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12087 --- diff --git a/memcheck/tests/err_disable3.stderr.exp b/memcheck/tests/err_disable3.stderr.exp index 90704ac5b8..554e9129c2 100644 --- a/memcheck/tests/err_disable3.stderr.exp +++ b/memcheck/tests/err_disable3.stderr.exp @@ -11,8 +11,7 @@ Thread 2: Invalid read of size 1 at 0x........: err (err_disable3.c:25) by 0x........: child_fn (err_disable3.c:31) - by 0x........: start_thread (pthread_create.c:300) - by 0x........: ??? + by 0x........: start_thread (pthread_create.c:304) Address 0x........ is 5 bytes inside a block of size 10 free'd at 0x........: free (vg_replace_malloc.c:...) by 0x........: main (err_disable3.c:42) diff --git a/memcheck/tests/err_disable3.vgtest b/memcheck/tests/err_disable3.vgtest index 6b998262d3..440fc85df9 100644 --- a/memcheck/tests/err_disable3.vgtest +++ b/memcheck/tests/err_disable3.vgtest @@ -1,2 +1,2 @@ prog: err_disable3 -vgopts: -q +vgopts: -q --num-callers=3