commit | 18b5aadea2de6955ba5818c65ef82c94c6ca5d98 | [log] [tgz] |
---|---|---|
author | Simon Marchi <simon.marchi@efficios.com> | Thu Jun 17 09:41:58 2021 -0400 |
committer | Simon Marchi <simon.marchi@polymtl.ca> | Thu Jun 17 09:41:58 2021 -0400 |
tree | 1cd24cdf8c99d56706114b35c47cf17aba91cc29 | |
parent | 82a5082ed3f00b8d7bd1e3810c6eeb4351e35286 [diff] |
gdb/testsuite: gdb.base/args.exp: use save_vars Use save_vars instead of manually saving/restoring. This ensures that if anything throws an error, GDBFLAGS will be correctly restored. Remove the global GDBFLAGS declaration at the top, it's not necessary. gdb/testsuite/ChangeLog: * gdb.base/args.exp: Use save_vars. Change-Id: I3a45e4fc1635ec0212de2415040f91eecaf4a057