Fix crash when old/new sigprocmask isn't safe to dereference. Bug #369360.
[valgrind.git] / gdbserver_tests / filter_vgdb
blob2442ec57eea2cb6ee219808a25f75e3ae7ab5ff9
1 #! /bin/sh
3 dir=`dirname $0`
5 $dir/filter_stderr |
7 # Anonymise addresses
8 $dir/../tests/filter_addresses |
10 # filter vgdb process id,
11 # pid
12 # gdb 7.2 sometimes tries to access address 0x0 (same as with standard gdbserver)
13 # filter a debian 6.0/ppc32 line
14 sed -e 's/\(relaying data between gdb and process \)[0-9][0-9]*/\1..../' \
15 -e 's/\(sending command .* to pid \)[0-9][0-9]*/\1..../' \
16 -e '/Cannot access memory at address 0x......../d' \
17 -e '/^[1-9][0-9]* \.\.\/sysdeps\/powerpc\/powerpc32\/dl-start\.S: No such file or directory\./d' |
19 # filter some debuginfo problems with ld.so and SLES11
20 sed -e '/^1 rtld.c: No such file or directory\./d' |
22 # and filter out any remaining empty lines
23 sed -e '/^$/d'