diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/checkpoint-ns.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/checkpoint-ns.exp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/checkpoint-ns.exp b/gdb/testsuite/gdb.base/checkpoint-ns.exp index d3698ba..d470bc4 100644 --- a/gdb/testsuite/gdb.base/checkpoint-ns.exp +++ b/gdb/testsuite/gdb.base/checkpoint-ns.exp @@ -18,9 +18,8 @@ # We drive non-stop mode from a separate file because the whole test # takes a while to run. This way, we can test both modes in parallel. -set saved_gdbflags $GDBFLAGS -append GDBFLAGS " -ex \"set non-stop on\"" +save_vars { GDBFLAGS } { + append GDBFLAGS " -ex \"set non-stop on\"" -source $srcdir/$subdir/checkpoint.exp - -set GDBFLAGS $saved_gdbflags + source $srcdir/$subdir/checkpoint.exp +} |