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