From 3adeaba2325c83f82ec3729a0132e37b90744d0c Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sat, 2 Oct 2021 12:03:46 +0200 Subject: [PATCH] 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. --- 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 -- 2.47.2