From: Mark Wielaard Date: Fri, 14 Apr 2023 22:00:36 +0000 (+0200) Subject: gdbserver_tests: Improve compatibility of library directory name X-Git-Tag: VALGRIND_3_21_0~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb6fbe4e8446ec7dd4a01662dbefc48f9349160b;p=thirdparty%2Fvalgrind.git gdbserver_tests: Improve compatibility of library directory name Some linux os make softlink from customized directory like lib64xxx into standard system lib64 directory. https://bugs.kde.org/show_bug.cgi?id=467839 Contributed-by: JojoR --- diff --git a/NEWS b/NEWS index b8d5e333d7..13efee7d4a 100644 --- a/NEWS +++ b/NEWS @@ -147,6 +147,7 @@ are not entered into bugzilla tend to get forgotten about or ignored. 465435 m_libcfile.c:66 (vgPlain_safe_fd): Assertion 'newfd >= VG_(fd_hard_limit)' failed. 466104 aligned_alloc problems, part 1 467482 Build failure on aarch64 Alpine +467839 Gdbserver: Improve compatibility of library directory name n-i-bz FreeBSD rfork syscall fail with EINVAL or ENOSYS rather than VG_(unimplemented) To see details of a given bug, visit diff --git a/gdbserver_tests/filter_gdb.in b/gdbserver_tests/filter_gdb.in index 28f807d09e..16186dfe2c 100755 --- a/gdbserver_tests/filter_gdb.in +++ b/gdbserver_tests/filter_gdb.in @@ -147,10 +147,10 @@ s/in _select ()/in syscall .../ # (on 32 bits, we have an int_80, on 64 bits, directly select) 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 +/^ from \/lib.*\/libc.so.*$/d +/^ from \/lib64.*\/libc.so.*$/d +/^ from \/lib64.*\/.*\/libc.so.*$/d +/^ from \/lib64.*\/.*\/libc-.*.so/d s/ from \/lib\/libc\.so.*// # and yet another (gdb 7.0 way) to get a system call