vgdb: Handle EAGAIN in read_buf
[valgrind.git] / gdbserver_tests / filter_vgdb.in
blob7c42a1849f32e74e2f9a14cce6a9d8aa888a7d11
1 #! /bin/sh
3 dir=`dirname $0`
5 SED=@SED@
7 $dir/filter_stderr |
9 # Anonymise addresses
10 $dir/../tests/filter_addresses |
13 # On FreeBSD if the base and/or lib32 dbg components
14 # are installed but not system source then these
15 # errors get produced by GDB
16 $SED -e '/\(rtld_start.S\|kill.S\|_exit.S\|_select.S\): No such file or directory/d' |
18 # filter vgdb process id,
19 # pid
20 # gdb 7.2 sometimes tries to access address 0x0 (same as with standard gdbserver)
21 # filter a debian 6.0/ppc32 line
22 $SED -e '/relaying data between gdb and process/d' \
23 -e 's/\(sending command .* to pid \)[0-9][0-9]*/\1..../' \
24 -e '/Cannot access memory at address 0x......../d' \
25 -e '/^[1-9][0-9]* \.\.\/sysdeps\/powerpc\/powerpc32\/dl-start\.S: No such file or directory\./d' |
27 # filter some debuginfo problems with ld.so and SLES11
28 $SED -e '/^1 rtld.c: No such file or directory\./d' |
29 $SED -e '/rtld.c: Inappropriate ioctl for device\./d' |
30 # similar for Debian 11.0 arm64
31 $SED -e '/_exit.c: Inappropriate ioctl for device\./d' |
33 # filter python loading denied error message (see also filter_gdb.in)
34 $SED -e '/warning: File .*valgrind-monitor.py.*declined.*/d' |
35 # and remove loading error messages when python scripts haven't
36 # been installed yet (running against vg-in-place)
37 $SED -e '/warning: Missing auto-load script.*/d' |
38 $SED -e '/of file .*vgpreload.*so.*/d' |
39 $SED -e '/Use.*info auto-load python-scripts.*/d' |
40 $SED -e '/warning: Invalid entry in .debug_gdb_scripts section/d' |
41 $SED -e "/Use .info auto-load python .REGEXP.. to list them./d" |
43 # and filter out any remaining empty lines
44 $SED -e '/^$/d'