Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/atf/dist/atf-run Apply "silence, please!" to '(...
details: https://anonhg.NetBSD.org/src/rev/af9a9bb0dab3
branches: trunk
changeset: 762876:af9a9bb0dab3
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Mar 04 09:04:06 2011 +0000
description:
Apply "silence, please!" to '(no debugging symbols found)'
spammed by gdb.
diffstat:
external/bsd/atf/dist/atf-run/atf-run.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 5c42ad98b74b -r af9a9bb0dab3 external/bsd/atf/dist/atf-run/atf-run.cpp
--- a/external/bsd/atf/dist/atf-run/atf-run.cpp Fri Mar 04 06:42:10 2011 +0000
+++ b/external/bsd/atf/dist/atf-run/atf-run.cpp Fri Mar 04 09:04:06 2011 +0000
@@ -399,7 +399,8 @@
gdbcmd = std::string("gdb -batch -q -ex bt ") +
tp.str() + std::string(" ") + corename +
- std::string(" 2> /dev/null");
+ std::string(" 2> /dev/null | grep -v ") +
+ std::string("'(no debugging symbols found)'");
FILE *gdbstrm = popen(gdbcmd.c_str(), "r");
if (gdbstrm) {
w.stderr_tc(std::string("test program crashed, "
Home |
Main Index |
Thread Index |
Old Index