Use scoped_restore in a couple of interp-related places
authorTom Tromey <tom@tromey.com>
Mon, 30 Apr 2018 05:12:04 +0000 (23:12 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 25 May 2018 18:41:00 +0000 (12:41 -0600)
commit753ff9bd837e2ba183e3ff789847a81221561392
tree8e8394abbe5a01569ad1a04663851af629f4ed3a
parent5ca3b2605cc9ab5b33032c6478147366be60cd95
Use scoped_restore in a couple of interp-related places

While looking through the "interp" code I found a couple of spots that
could use scoped_restore.

ChangeLog
2018-05-25  Tom Tromey  <tom@tromey.com>

* cli/cli-interp.c (safe_execute_command): Use scoped_restore.
* interps.c (interp_exec): Use scoped_restore.
gdb/ChangeLog
gdb/cli/cli-interp.c
gdb/interps.c