Blame SOURCES/valgrind-3.18.1-gdbserver_tests-hwcap.patch

6e98bf
commit 64ab89162906d5b9e2de6c3afe476fec861ef7ec
6e98bf
Author: Mark Wielaard <mark@klomp.org>
6e98bf
Date:   Tue Nov 2 14:27:45 2021 +0100
6e98bf
6e98bf
    gdbserver_tests: Filter out glibc hwcaps libc.so
6e98bf
    
6e98bf
    On some systems the gdbserver_tests would fail because the filter
6e98bf
    for the optimized hwcaps subdir didn't match because the file is
6e98bf
    called slightly differently, with the version number before .so
6e98bf
    instead of after. For example: /lib64/glibc-hwcaps/power9/libc-2.28.so
6e98bf
    
6e98bf
    Add one extra filter for this pattern.
6e98bf
6e98bf
diff --git a/gdbserver_tests/filter_gdb.in b/gdbserver_tests/filter_gdb.in
6e98bf
index d0c94f3f1..b753e0168 100755
6e98bf
--- a/gdbserver_tests/filter_gdb.in
6e98bf
+++ b/gdbserver_tests/filter_gdb.in
6e98bf
@@ -134,6 +134,7 @@ s/in \(.__\)\{0,1\}select () from \/.*$/in syscall .../
6e98bf
 /^   from \/lib\/libc.so.*$/d
6e98bf
 /^   from \/lib64\/libc.so.*$/d
6e98bf
 /^   from \/lib64\/.*\/libc.so.*$/d
6e98bf
+/^   from \/lib64\/.*\/libc-.*.so/d
6e98bf
 
6e98bf
 #       and yet another (gdb 7.0 way) to get a system call
6e98bf
 s/in select ()$/in syscall .../