Improve filtering of backtrace noise in the memcheck bucket
and update exp files accordingly. This works well for x86
and all testcases pass on my machine.
New file filter_memcheck to do the work. 
There is a bit of a ripple here as filter_memcheck requires
command line arguments to be passed in. So all users of 
filter_memcheck (direct or indirect) were updated as well.
filter_stderr was simplified as was filter_libc.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12091 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/gdbserver_tests/filter_memcheck_monitor b/gdbserver_tests/filter_memcheck_monitor
index 73eb82e..fe6c405 100755
--- a/gdbserver_tests/filter_memcheck_monitor
+++ b/gdbserver_tests/filter_memcheck_monitor
@@ -4,7 +4,7 @@
 
 dir=`dirname $0`
 
-$dir/../memcheck/tests/filter_stderr                   |
+$dir/../memcheck/tests/filter_stderr "$@"              |
 
 # filter vgdb messages
 $dir/filter_vgdb                                       |