diff options
-rw-r--r-- | gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp index 92f3cd8..31e9e4a 100644 --- a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp +++ b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp @@ -30,8 +30,13 @@ if { [which curl] == 0 } { } # Skip testing if gdb was not configured with debuginfod +# +# If GDB is built with ASan, it warns that some signal handlers (installed by +# ASan) exist on startup. That makes TCL's exec throw an error. Disable that +# by passing --quiet. + if { [string first "with-debuginfod" \ - [eval exec $GDB $INTERNAL_GDBFLAGS --configuration]] == -1 } { + [eval exec $GDB --quiet $INTERNAL_GDBFLAGS --configuration]] == -1 } { untested "gdb not configured with debuginfod" return -1 } |