diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/args.exp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 30d1a4f..85ea359 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2021-06-17 Simon Marchi <simon.marchi@efficios.com> + * gdb.base/args.exp: Use $old_gdbflags in all tests. + +2021-06-17 Simon Marchi <simon.marchi@efficios.com> + * gdb.base/args.exp: Use save_vars. 2021-06-14 Pedro Alves <pedro@palves.net> diff --git a/gdb/testsuite/gdb.base/args.exp b/gdb/testsuite/gdb.base/args.exp index bff750d..e4cba65 100644 --- a/gdb/testsuite/gdb.base/args.exp +++ b/gdb/testsuite/gdb.base/args.exp @@ -92,9 +92,9 @@ save_vars { GDBFLAGS } { # try with arguments containing literal newlines. - set GDBFLAGS "-nx --args $binfile 1 {\n} 3" + set GDBFLAGS "$old_gdbflags --args $binfile 1 {\n} 3" args_test "one newline" {{1} {\\n} {3}} - set GDBFLAGS "-nx --args $binfile 1 {\n} {\n} 3" + set GDBFLAGS "$old_gdbflags --args $binfile 1 {\n} {\n} 3" args_test "two newlines" {{1} {\\n} {\\n} {3}} } |