From: Mark Wielaard Date: Sat, 2 Oct 2021 10:03:46 +0000 (+0200) Subject: Ajust filter_gdb for arm64 with eglibc 2.19 and gdb 7.7.1 X-Git-Tag: VALGRIND_3_18_0~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3adeaba2325c83f82ec3729a0132e37b90744d0c;p=thirdparty%2Fvalgrind.git 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 --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