]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
gdbserver_tests: filter out Download failed: messages.
authorMark Wielaard <mark@klomp.org>
Sat, 27 Feb 2021 16:44:30 +0000 (17:44 +0100)
committerMark Wielaard <mark@klomp.org>
Sat, 27 Feb 2021 16:44:36 +0000 (17:44 +0100)
gdb can also use debuginfod and is excessively chatty when downloads
fail (even when DEBUGINFOD_URLS isn't set). Filter those messages out
of the gdb output.

gdbserver_tests/filter_gdb

index 204c0fc04821e1cb3e37e817187597519f5c6b19..3bcd26d86cecf473f16fdcf54b7d2e41c86d3baa 100755 (executable)
@@ -19,6 +19,9 @@ s/^\e\[?1034hReading symbols/Reading symbols/
 #       remove message about missing debuginfos
 /^Missing separate debuginfo/d
 
+#       remove messages about not being able to download debuginfos
+/^Download failed: /d
+
 #       suppress lines telling file _exit.c does not exist
 /\/_exit.c: No such file or directory/d