From: Mark Wielaard Date: Sun, 11 May 2025 21:12:15 +0000 (+0200) Subject: More gdb filtering for glibc 2.41 with debuginfo installed X-Git-Tag: VALGRIND_3_25_1~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=69b931e1216d48b91d51fdffc526cff84bf72b9f;p=thirdparty%2Fvalgrind.git More gdb filtering for glibc 2.41 with debuginfo installed (cherry picked from commit 3404f081ed2027ccdb756c87bcaea7f95fd0525a) --- diff --git a/gdbserver_tests/filter_gdb.in b/gdbserver_tests/filter_gdb.in index d7b1bb11c..681376e48 100755 --- a/gdbserver_tests/filter_gdb.in +++ b/gdbserver_tests/filter_gdb.in @@ -137,6 +137,12 @@ s/in _dl_sysinfo_int80 () from \/lib\/ld-linux.so.*/in syscall .../ # in __syscall_cancel_arch is just in a syscall s/in __syscall_cancel_arch .*/in syscall .../ +# as is just __syscall_cancel_arch +s/__syscall_cancel_arch .*/0x........ in syscall .../ + +# gdb with source might figure out there is just a ret instruction +/^[1-9][0-9\t ]*ret$/d + # do_syscall is in syscall s/__libc_do_syscall ().*/0x........ in syscall .../