]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Limit number of backtrace frames to 3 so as to avoid junk frames.
authorJulian Seward <jseward@acm.org>
Mon, 3 Oct 2011 16:15:16 +0000 (16:15 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 3 Oct 2011 16:15:16 +0000 (16:15 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12087

memcheck/tests/err_disable3.stderr.exp
memcheck/tests/err_disable3.vgtest

index 90704ac5b81198cc01eacbf5e52c92b2cd71f262..554e9129c24e2157556397d9be1adfadb01d2d9e 100644 (file)
@@ -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)
index 6b998262d366398174543e034485810069669048..440fc85df946032a3a7f0a54c20402f13a85f947 100644 (file)
@@ -1,2 +1,2 @@
 prog: err_disable3
-vgopts: -q
+vgopts: -q --num-callers=3