|
From: Mark W. <ma...@so...> - 2021-10-02 10:12:30
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=3adeaba2325c83f82ec3729a0132e37b90744d0c commit 3adeaba2325c83f82ec3729a0132e37b90744d0c Author: Mark Wielaard <ma...@kl...> Date: Sat Oct 2 12:03:46 2021 +0200 Ajust filter_gdb for arm64 with eglibc 2.19 and gdb 7.7.1 Older ubuntu arm64 setups used eglibc 2.19 and gdb 7.7.1. In that case select.c could be under linux/generic and the select argument list could be split up differently over several lines. Adjust filter_gdb to catch those differences. Also checked against an Debian arm64 with glibc 2.31 and gdb 10.1. Diff: --- gdbserver_tests/filter_gdb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdbserver_tests/filter_gdb b/gdbserver_tests/filter_gdb index 4a5b5d7a5b..219039abcd 100755 --- a/gdbserver_tests/filter_gdb +++ b/gdbserver_tests/filter_gdb @@ -112,8 +112,11 @@ s/\(0x........\) in ?? ()$/\1 in syscall .../ # return SYSCALL_CANCEL.... s/in __select .*/in syscall .../ s/in __select$/in syscall .../ -/exceptfds/d +/nfds=/d +/exceptfds=/d +/timeout=/d /sysv\/linux\/select\.c/d +/sysv\/linux\/generic\/select.c/d /return SYSCALL_CANCEL /d # a more specialised system call select stack trace part |