mirror of
git://sourceware.org/git/valgrind.git
synced 2026-01-12 00:19:31 +08:00
filter_gdb.in: filter out __libc_do_syscall
On i386 and armhf __libc_do_syscall might be used to invoke a syscall.
Replace __libc_do_syscall with "in syscall ..." and filter out
possible extra (assembly) source file lines containing
libc-do-syscall.S from the gdb output.
https://bugs.kde.org/show_bug.cgi?id=502126
(cherry picked from commit ddcb3aa3ed)
This commit is contained 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 .../
|
||||
|
||||
# do_syscall is in syscall
|
||||
s/__libc_do_syscall ().*/0x........ in syscall .../
|
||||
|
||||
# extra source code line
|
||||
/libc-do-syscall.S/d
|
||||
|
||||
# anonymise kill syscall.
|
||||
s/in kill ().*$/in syscall .../
|
||||
|
||||
|
||||
Reference in New Issue
Block a user