Skip to content

Commit 69b931e

Browse files
author
Mark Wielaard
committed
More gdb filtering for glibc 2.41 with debuginfo installed
(cherry picked from commit 3404f08)
1 parent 9a9a426 commit 69b931e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

gdbserver_tests/filter_gdb.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@ s/in _dl_sysinfo_int80 () from \/lib\/ld-linux.so.*/in syscall .../
137137
# in __syscall_cancel_arch is just in a syscall
138138
s/in __syscall_cancel_arch .*/in syscall .../
139139
140+
# as is just __syscall_cancel_arch
141+
s/__syscall_cancel_arch .*/0x........ in syscall .../
142+
143+
# gdb with source might figure out there is just a ret instruction
144+
/^[1-9][0-9\t ]*ret$/d
145+
140146
# do_syscall is in syscall
141147
s/__libc_do_syscall ().*/0x........ in syscall .../
142148

0 commit comments

Comments
 (0)