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 <rjiejie@gmail.com>
This commit is contained in:
Mark Wielaard 2023-04-15 00:00:36 +02:00
parent d387566dd7
commit fb6fbe4e84
2 changed files with 5 additions and 4 deletions

1
NEWS
View File

@ -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

View File

@ -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