|
From: <sv...@va...> - 2014-04-26 20:40:49
|
Author: philippe
Date: Sat Apr 26 20:40:41 2014
New Revision: 13913
Log:
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
Modified:
trunk/gdbserver_tests/filter_gdb
Modified: trunk/gdbserver_tests/filter_gdb
==============================================================================
--- trunk/gdbserver_tests/filter_gdb (original)
+++ trunk/gdbserver_tests/filter_gdb Sat Apr 26 20:40:41 2014
@@ -22,6 +22,7 @@
# 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 @@
-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 @@
-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 @@
-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)
|