aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/debuginfod-support.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib/debuginfod-support.exp')
-rw-r--r--gdb/testsuite/lib/debuginfod-support.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/debuginfod-support.exp b/gdb/testsuite/lib/debuginfod-support.exp
index 674888a..7a8baf4 100644
--- a/gdb/testsuite/lib/debuginfod-support.exp
+++ b/gdb/testsuite/lib/debuginfod-support.exp
@@ -37,7 +37,7 @@ proc allow_debuginfod_tests {} {
# (installed by ASan) exist on startup. That makes TCL's exec throw an
# error. This is dealt with by the --quiet in INTERNAL_GDBFLAGS.
if { [string first "with-debuginfod" \
- [eval exec $::GDB $::INTERNAL_GDBFLAGS \
+ [exec $::GDB {*}$::INTERNAL_GDBFLAGS \
--configuration]] == -1 } {
return false
}