aboutsummaryrefslogtreecommitdiff
path: root/gdb/features
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-07-06 13:31:12 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-07-23 15:38:53 -0400
commitffb6ba773e0a5ad9884afdc3b8279671c61d5add (patch)
tree615de6bf849fe15c0735eefdbece6e9a5b87ff60 /gdb/features
parenta52b41bf2f08f6c106983f1acca2c8a2f69279b0 (diff)
downloadgdb-ffb6ba773e0a5ad9884afdc3b8279671c61d5add.zip
gdb-ffb6ba773e0a5ad9884afdc3b8279671c61d5add.tar.gz
gdb-ffb6ba773e0a5ad9884afdc3b8279671c61d5add.tar.bz2
gdb.base/setshow.exp: use save_vars to save/restore gdb_prompt
Using save_vars is a bit better than what we have now, as it ensures the variable gets restored if the code within it throws an error. Change-Id: I3bd6836e5b7efb61b078acadff1a1c8182c19a27
Diffstat (limited to 'gdb/features')
0 files changed, 0 insertions, 0 deletions