]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Suppress any source filename in a "(below main)" line in a stack trace.
authorTom Hughes <tom@compton.nu>
Thu, 13 Apr 2006 12:44:31 +0000 (12:44 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 13 Apr 2006 12:44:31 +0000 (12:44 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5847

tests/filter_libc

index bcb83091af29cb6b2b9032cae3826db5c134ddbc..67aa0cabe3b6cb4ae8b4cf4a1e5fe9070cd1f234 100755 (executable)
@@ -18,6 +18,8 @@ while (<>)
     s/\(in \/.*libc.*\)$/(in \/...libc...)/;
     s/\(within \/.*libc.*\)$/(within \/...libc...)/;
 
+    s/\(below main\) \(.+\.[cS]:\d+\)$/(below main) (in \/...libc...)/;
+
     s/($libc_symbols) \(.+\.[cS]:\d+\)$/$1 (in \/...libc...)/;
 
     print;