|
From: Mark W. <ma...@so...> - 2021-07-16 19:41:27
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=6da22a4d246519cd1a638cfc7eff00cdd74413c4 commit 6da22a4d246519cd1a638cfc7eff00cdd74413c4 Author: Mark Wielaard <ma...@kl...> Date: Fri Jul 16 21:37:21 2021 +0200 gdbserver_tests: update filters for newer glibc/gdb With newer glibc/gdb we might see a __select call without anything following on the line. Also when gdb cannot find a file it might now print "Inappropriate ioctl for device" instead of the message "No such file or directory" Diff: --- gdbserver_tests/filter_gdb | 1 + gdbserver_tests/filter_vgdb | 1 + 2 files changed, 2 insertions(+) diff --git a/gdbserver_tests/filter_gdb b/gdbserver_tests/filter_gdb index 3bcd26d86c..4a5b5d7a5b 100755 --- a/gdbserver_tests/filter_gdb +++ b/gdbserver_tests/filter_gdb @@ -111,6 +111,7 @@ s/\(0x........\) in ?? ()$/\1 in syscall .../ # If select.c sources are present, we can also get a line containing: # return SYSCALL_CANCEL.... s/in __select .*/in syscall .../ +s/in __select$/in syscall .../ /exceptfds/d /sysv\/linux\/select\.c/d /return SYSCALL_CANCEL /d diff --git a/gdbserver_tests/filter_vgdb b/gdbserver_tests/filter_vgdb index f8028a39ad..679ca4b31c 100755 --- a/gdbserver_tests/filter_vgdb +++ b/gdbserver_tests/filter_vgdb @@ -18,6 +18,7 @@ sed -e '/relaying data between gdb and process/d' \ # filter some debuginfo problems with ld.so and SLES11 sed -e '/^1 rtld.c: No such file or directory\./d' | +sed -e '/rtld.c: Inappropriate ioctl for device\./d' | # and filter out any remaining empty lines sed -e '/^$/d' |
|
From: John R. <jr...@bi...> - 2021-07-16 20:53:12
|
On 7/16/21, Mark Wielaard wrote: > https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=6da22a4d246519cd1a638cfc7eff00cdd74413c4 > > commit 6da22a4d246519cd1a638cfc7eff00cdd74413c4 > Author: Mark Wielaard <ma...@kl...> > Date: Fri Jul 16 21:37:21 2021 +0200 > > gdbserver_tests: update filters for newer glibc/gdb > > With newer glibc/gdb we might see a __select call without anything Please add an actual version number of glibc/gdb which exhibits this behavior. An absolute signpost helps immensely when maintaining software. -- |
|
From: Mark W. <ma...@kl...> - 2021-07-17 12:51:11
|
On Fri, Jul 16, 2021 at 01:36:49PM -0700, John Reiser wrote: > On 7/16/21, Mark Wielaard wrote: > > https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=6da22a4d246519cd1a638cfc7eff00cdd74413c4 > > > > commit 6da22a4d246519cd1a638cfc7eff00cdd74413c4 > > Author: Mark Wielaard <ma...@kl...> > > Date: Fri Jul 16 21:37:21 2021 +0200 > > > > gdbserver_tests: update filters for newer glibc/gdb > > With newer glibc/gdb we might see a __select call without anything > > Please add an actual version number of glibc/gdb which exhibits this behavior. > An absolute signpost helps immensely when maintaining software. Yes, you are right. This was with the combination of glibc 2.33.900 and gdb 10.2. Cheers, Mark |