3 # used to filter memcheck output shown by gdb/vgdb.
9 $dir/..
/memcheck
/tests
/filter_stderr
"$@" |
11 # filter vgdb messages
15 # filter some normal error messages provided by some gdb
17 # gdb 7.2 sometimes tries to access address 0x0 (same as with standard gdbserver)
19 # filter a debian 6.0/ppc32 line
21 # filter some missing info msg from s390
23 # Bypass a s390x kernel bug which makes faultstatus test3 fail. In our case, we are
24 # not interested in checking the si_code, but rather the signal passing
27 # When doing inferior function calls from gdb (in mcmain_pic) there might be
28 # extra heap usage from gdb that we aren't interested in tracking.
30 $SED -e '/Cannot access memory at address 0x......../d' \
31 -e '/^[1-9][0-9]* \.\.\/sysdeps\/powerpc\/powerpc32\/dl-start\.S: No such file or directory\./d' \
32 -e '/^Missing separate debuginfo/d' \
33 -e '/^Try: zypper install -C/d' \
34 -e 's/Test 3: FAIL: expected si_code==2, not 128/Test 3: PASS/' \
35 -e 's/in use at exit: [0-9][0-9,]* bytes in [0-9][0-9]* blocks/in use at exit: ... bytes in ... blocks/' \
36 -e '/^ total heap usage: /d'