Apply "silence, please!" to '(no debugging symbols found)'
spammed by gdb.
This commit is contained in:
parent
0b70972be7
commit
58ecd47e2f
3
external/bsd/atf/dist/atf-run/atf-run.cpp
vendored
3
external/bsd/atf/dist/atf-run/atf-run.cpp
vendored
@ -399,7 +399,8 @@ atf_run::run_test_program(const atf::fs::path& tp,
|
||||
|
||||
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, "
|
||||
|
Loading…
Reference in New Issue
Block a user