binutils-gdb/gdb/cli
Tom Tromey be0d7abb5e Replace interp_set_temp with scoped_restore_interp
This removes interp_set_temp and an associated cleanup, in favor of a
new RAII class, scoped_restore_interp.

ChangeLog
2017-09-11  Tom Tromey  <tom@tromey.com>

	* cli/cli-script.c (restore_interp): Remove.
	(read_command_lines): Use scoped_restore_interp.
	* interps.c (scoped_restore_interp::set_temp): Rename from
	interp_set_temp.
	* interps.h (class scoped_restore_interp): New.
	(interp_set_temp): Remove.
2017-09-11 16:15:08 -06:00
..
cli-cmds.c Rename _const functions to use overloading instead 2017-09-11 15:46:12 -06:00
cli-cmds.h
cli-decode.c
cli-decode.h
cli-dump.c Rename _const functions to use overloading instead 2017-09-11 15:46:12 -06:00
cli-interp.c
cli-interp.h
cli-logging.c
cli-script.c Replace interp_set_temp with scoped_restore_interp 2017-09-11 16:15:08 -06:00
cli-script.h
cli-setshow.c Rename _const functions to use overloading instead 2017-09-11 15:46:12 -06:00
cli-setshow.h
cli-utils.c Make extract_arg return a std::string 2017-09-11 15:46:14 -06:00
cli-utils.h Make extract_arg return a std::string 2017-09-11 15:46:14 -06:00