From: Mark W. <ma...@so...> - 2025-05-17 21:22:10
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=69b931e1216d48b91d51fdffc526cff84bf72b9f commit 69b931e1216d48b91d51fdffc526cff84bf72b9f Author: Mark Wielaard <ma...@kl...> Date: Sun May 11 23:12:15 2025 +0200 More gdb filtering for glibc 2.41 with debuginfo installed (cherry picked from commit 3404f081ed2027ccdb756c87bcaea7f95fd0525a) Diff: --- gdbserver_tests/filter_gdb.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gdbserver_tests/filter_gdb.in b/gdbserver_tests/filter_gdb.in index d7b1bb11c6..681376e488 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 .../ |