]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
gdbserver_tests: Filter out glibc hwcaps libc.so
authorMark Wielaard <mark@klomp.org>
Tue, 2 Nov 2021 13:27:45 +0000 (14:27 +0100)
committerMark Wielaard <mark@klomp.org>
Tue, 2 Nov 2021 13:27:45 +0000 (14:27 +0100)
On some systems the gdbserver_tests would fail because the filter
for the optimized hwcaps subdir didn't match because the file is
called slightly differently, with the version number before .so
instead of after. For example: /lib64/glibc-hwcaps/power9/libc-2.28.so

Add one extra filter for this pattern.

gdbserver_tests/filter_gdb.in

index d0c94f3f1af2e44e228d3aa591a24631a770dd95..b753e016889a8ad537df145b9e1d26c287cad3b7 100755 (executable)
@@ -134,6 +134,7 @@ s/in \(.__\)\{0,1\}select () from \/.*$/in syscall .../
 /^   from \/lib\/libc.so.*$/d
 /^   from \/lib64\/libc.so.*$/d
 /^   from \/lib64\/.*\/libc.so.*$/d
+/^   from \/lib64\/.*\/libc-.*.so/d
 
 #       and yet another (gdb 7.0 way) to get a system call
 s/in select ()$/in syscall .../