diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d0101258b2e..19cb2f1d7cb 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-06-17 Keith Seitz + + * gdb.deuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS + when executing "gdb --configuration". + 2020-06-17 Tom de Vries * lib/gdb.exp (gdb_tcl_unknown): New proc. diff --git a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp index 0bf18f2d124..fbab3b1f48d 100644 --- a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp +++ b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp @@ -30,7 +30,8 @@ if { [which curl] == 0 } { } # Skip testing if gdb was not configured with debuginfod -if { [string first "with-debuginfod" [exec $GDB --configuration]] == -1 } { +if { [string first "with-debuginfod" \ + [eval exec $GDB $INTERNAL_GDBFLAGS --configuration]] == -1 } { untested "gdb not configured with debuginfod" return -1 }