aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/remotetimeout.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/remotetimeout.exp')
-rw-r--r--gdb/testsuite/gdb.base/remotetimeout.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/remotetimeout.exp b/gdb/testsuite/gdb.base/remotetimeout.exp
index e6661b4..c7056ce 100644
--- a/gdb/testsuite/gdb.base/remotetimeout.exp
+++ b/gdb/testsuite/gdb.base/remotetimeout.exp
@@ -34,7 +34,7 @@ if [target_info exists noargs] {
# Test that -l is processed correctly.
#
set old_gdbflags $GDBFLAGS
-set GDBFLAGS "-l 42"
+set GDBFLAGS "$GDBFLAGS -l 42"
gdb_exit
gdb_start
gdb_test "show remotetimeout" \