From: Mark W. <ma...@so...> - 2025-03-28 12:56:38
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=275b98d60cee65acee7dd5793210aea7a0921bd2 commit 275b98d60cee65acee7dd5793210aea7a0921bd2 Author: Mark Wielaard <ma...@kl...> Date: Fri Mar 28 13:44:35 2025 +0100 filter_gdb.in: __syscall_cancel_arch is just in a syscall Since glibc 2.41 some extra syscall_cancel frames are inserted before that actual syscall is made. Just filter out __syscall_cancel_arch from the gdb output and replace it with "in syscall ..." to make the regtest .exp match. https://bugs.kde.org/show_bug.cgi?id=502126 (cherry picked from commit f3f30becff5851b0d0b2caa7e96e661c7889f7d1) Diff: --- gdbserver_tests/filter_gdb.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdbserver_tests/filter_gdb.in b/gdbserver_tests/filter_gdb.in index 2bef9f3ee5..e2b329a604 100755 --- a/gdbserver_tests/filter_gdb.in +++ b/gdbserver_tests/filter_gdb.in @@ -134,6 +134,9 @@ s/^>[> ]*// # anonymise a 'general' system calls stack trace part 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 .../ + # anonymise kill syscall. s/in kill ().*$/in syscall .../ |