]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
filter_gdb.in: __syscall_cancel_arch is just in a syscall
authorMark Wielaard <mark@klomp.org>
Fri, 28 Mar 2025 12:44:35 +0000 (13:44 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 28 Mar 2025 12:44:42 +0000 (13:44 +0100)
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

gdbserver_tests/filter_gdb.in

index 2bef9f3ee57b5dc53002ef1422c603a908e1559c..e2b329a60483161360ee4d8ad5d172517839ad79 100755 (executable)
@@ -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 .../