sewardj | 3b29048 | 2011-05-06 21:02:55 +0000 | [diff] [blame] | 1 | #! /bin/sh |
| 2 | |
| 3 | dir=`dirname $0` |
| 4 | |
| 5 | $dir/filter_stderr | |
| 6 | |
| 7 | # Anonymise addresses |
| 8 | $dir/../tests/filter_addresses | |
| 9 | |
sewardj | eefeeb7 | 2011-05-10 11:01:07 +0000 | [diff] [blame] | 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 |
sewardj | 3b29048 | 2011-05-06 21:02:55 +0000 | [diff] [blame] | 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..../' \ |
sewardj | eefeeb7 | 2011-05-10 11:01:07 +0000 | [diff] [blame] | 16 | -e '/Cannot access memory at address 0x......../d' \ |
florian | 900863d | 2011-10-08 12:41:12 +0000 | [diff] [blame] | 17 | -e '/^[1-9][0-9]* \.\.\/sysdeps\/powerpc\/powerpc32\/dl-start\.S: No such file or directory\./d' | |
| 18 | |
| 19 | # filter some debuginfo problems with ld.so and SLES11 |
| 20 | sed -e '/^1 rtld.c: No such file or directory\./d' |