From: Philippe Waroquiers Date: Sat, 26 Apr 2014 20:40:41 +0000 (+0000) Subject: Filter lines such as: X-Git-Tag: svn/VALGRIND_3_10_0~523 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc21443635899625f314cdaedf65bc39e04b95d3;p=thirdparty%2Fvalgrind.git Filter lines such as: +38 ../sysdeps/unix/sysv/linux/_exit.c: No such file or directory. This should make nlgone_exit work on s390 suse and x86_64 suse git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13913 --- diff --git a/gdbserver_tests/filter_gdb b/gdbserver_tests/filter_gdb index ce878a7db4..0e1fd75a58 100755 --- a/gdbserver_tests/filter_gdb +++ b/gdbserver_tests/filter_gdb @@ -22,6 +22,7 @@ sed -e '/^\ \ \ \ \.\.\.$/d' | # with OS/glibc/gdb dep # then have a general way to delete uninteresting and vayring # lines. +# suppress lines telling file _exit.c does not exist # initial tty control character sent by gdb 7.0 # remove missing debuginfos # vgdb message @@ -59,6 +60,7 @@ sed -e '/Remote debugging using/,/vgdb launched process attached/d' -e '/filter_gdb BEGIN drop/,/filter_gdb END drop/d' \ -e 's/^\[?1034hReading symbols/Reading symbols/' \ -e '/^Missing separate debuginfo/d' \ + -e '/\/_exit.c: No such file or directory/d' \ -e '/^Try: zypper install -C/d' \ -e 's/\(relaying data between gdb and process \)[0-9][0-9]*/\1..../' \ -e 's/pid [0-9][0-9]*/pid ..../g' \ @@ -71,8 +73,8 @@ sed -e '/Remote debugging using/,/vgdb launched process attached/d' -e '/^Loaded symbols for .*$/d' \ -e '/^Current language.*/d' \ -e '/^The current source language is.*/d' \ - -e 's/^.*\( exited with code [0-9]\+\).$/Program\1\./g' \ - -e 's/^.*\( exited normally\).$/Program\1\./g' \ + -e 's/^.*\( exited with code [0-9]\+\).$/Program\1\./g' \ + -e 's/^.*\( exited normally\).$/Program\1\./g' \ -e 's/(gdb) //g' \ -e 's/^>[> ]*//' \ -e '/^done\.$/d' \ @@ -104,10 +106,10 @@ sed -e '/Remote debugging using/,/vgdb launched process attached/d' -e 's/^\([ \*] [1234] \) *Thread /\1Thread /' \ -e 's/VgTs_WaitSys) 0x/VgTs_WaitSys) 0x/' \ -e '/Cannot access memory at address 0x......../d' \ - -e '/^$/d' | + -e '/^$/d' | # remove all the lines telling where the SIGFPE was trapped. -sed -e '/after trap SIGFPE/,/after continue SIGFPE/d' | +sed -e '/after trap SIGFPE/,/after continue SIGFPE/d' | # join together two lines that gdb 7.1 splits in two (???) # (in a separate sed, as the below influences the behaviour of the other expressions)