From: Mark Wielaard Date: Sun, 21 Feb 2021 14:18:54 +0000 (+0100) Subject: swapcontext.vgtest fails with glibc-debuginfo installed X-Git-Tag: VALGRIND_3_17_0~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=610973c79dbec9ed76a74ba884150183b2a26786;p=thirdparty%2Fvalgrind.git swapcontext.vgtest fails with glibc-debuginfo installed With debuginfo installed the backtace contains the swapcontext.S source file. Filter that out, like the clone.S source file is in drd/tests/filter_stderr. --- diff --git a/drd/tests/filter_stderr b/drd/tests/filter_stderr index 59907f6270..f5c56a3541 100755 --- a/drd/tests/filter_stderr +++ b/drd/tests/filter_stderr @@ -29,6 +29,7 @@ sed \ -e "s/(tc20_verifywrap.c:261)/(tc20_verifywrap.c:262)/" \ -e "/^Copyright (C) 2006-20.., and GNU GPL'd, by Bart Van Assche.$/d" \ -e "s/\([A-Za-z_]*\) (clone.S:[0-9]*)/\1 (in \/...libc...)/" \ +-e "s/\([A-Za-z_]*\) (swapcontext.S:[0-9]*)/\1 (in \/...libc...)/" \ -e "s/[A-Za-z_]* (pthread_create.c:[0-9]*)/(within libpthread-?.?.so)/" \ -e "s/[A-Za-z_]* (in [^ ]*libpthread-[0-9.]*\.so)/(within libpthread-?.?.so)/" \ -e "s:(within /lib[0-9]*/ld-[0-9.]*\.so):(within ld-?.?.so):" \