filter out dl-start.S: No such file or directory in gdbserver_tests
[valgrind.git] / gdbserver_tests / filter_vgdb.in
blobb71835cda28523a6dba040a77f021796af14b471
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' |
17 # Likewise on some aarch64 GNU/Linux systems for dl-start.S
18 $SED -e '/dl-start.S: No such file or directory/d' |
20 # filter vgdb process id,
21 # pid
22 # gdb 7.2 sometimes tries to access address 0x0 (same as with standard gdbserver)
23 # filter a debian 6.0/ppc32 line
24 $SED -e '/relaying data between gdb and process/d' \
25 -e 's/\(sending command .* to pid \)[0-9][0-9]*/\1..../' \
26 -e '/Cannot access memory at address 0x......../d' \
27 -e '/^[1-9][0-9]* \.\.\/sysdeps\/powerpc\/powerpc32\/dl-start\.S: No such file or directory\./d' |
29 # filter some debuginfo problems with ld.so and SLES11
30 $SED -e '/^1 rtld.c: No such file or directory\./d' |
31 $SED -e '/rtld.c: Inappropriate ioctl for device\./d' |
32 # similar for Debian 11.0 arm64
33 $SED -e '/_exit.c: Inappropriate ioctl for device\./d' |
35 # filter python loading denied error message (see also filter_gdb.in)
36 $SED -e '/warning: File .*valgrind-monitor.py.*declined.*/d' |
37 # and remove loading error messages when python scripts haven't
38 # been installed yet (running against vg-in-place)
39 $SED -e '/warning: Missing auto-load script.*/d' |
40 $SED -e '/of file .*vgpreload.*so.*/d' |
41 $SED -e '/Use.*info auto-load python-scripts.*/d' |
42 $SED -e '/warning: Invalid entry in .debug_gdb_scripts section/d' |
43 $SED -e "/Use .info auto-load python .REGEXP.. to list them./d" |
45 # and filter out any remaining empty lines
46 $SED -e '/^$/d'