summaryrefslogtreecommitdiff
path: root/tests/filter_libc
diff options
context:
space:
mode:
authortom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-04-13 12:44:31 +0000
committertom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-04-13 12:44:31 +0000
commit9e41d8d4d58c066e414951195314fb9a89afa261 (patch)
treee37537d715f8d6aa1109f3eb005658fd40438c22 /tests/filter_libc
parent5e0e9227a2cacfde585c649679ca25ba05102e0e (diff)
Suppress any source filename in a "(below main)" line in a stack trace.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5847 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'tests/filter_libc')
-rwxr-xr-xtests/filter_libc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/filter_libc b/tests/filter_libc
index bcb83091..67aa0cab 100755
--- a/tests/filter_libc
+++ b/tests/filter_libc
@@ -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;