binutils-gdb/gdb/cli
Tom Tromey a9921622de Replace clear_hook_in_cleanup with scoped_restore_hook_in
This removes clear_hook_in_cleanup in favor of a scoped_restore-like
class.  scoped_restore itself can't be used because hook_in is a
bitfield.

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

	* cli/cli-script.c (class scoped_restore_hook_in): New.
	(clear_hook_in_cleanup): Remove.
	(execute_cmd_pre_hook, execute_cmd_post_hook): Use
	scoped_restore_hook_in.
2017-09-11 16:15:09 -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 Remove unnecessary function prototypes. 2017-09-09 11:02:37 -07:00
cli-interp.h
cli-logging.c Remove unnecessary function prototypes. 2017-09-09 11:02:37 -07:00
cli-script.c Replace clear_hook_in_cleanup with scoped_restore_hook_in 2017-09-11 16:15:09 -06:00
cli-script.h Move command lines types/declarations to cli-script.h 2017-09-04 19:09:12 +02:00
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