]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Ajust filter_gdb for arm64 with eglibc 2.19 and gdb 7.7.1
authorMark Wielaard <mark@klomp.org>
Sat, 2 Oct 2021 10:03:46 +0000 (12:03 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 2 Oct 2021 10:03:46 +0000 (12:03 +0200)
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

index 4a5b5d7a5b4ccbb1239b9161c9fe53fb63c171ca..219039abcd3ecf8bf2f85049930c88c5f0d257eb 100755 (executable)
@@ -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