binutils-gdb/gdb/cli
Tom Tromey 716b8bc52e Change the as_*_interp functions to use dynamic_cast
This changes the various as_*_interp functions to be implemented using
dynamic_cast.  I believe this is a small improvement, because it is
more typesafe -- the C++ runtime does the type-checking for us.

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

	* tui/tui-interp.c (as_tui_interp): Use dynamic_cast.
	* mi/mi-interp.c (as_mi_interp): Use dynamic_cast.
	* cli/cli-interp.c (as_cli_interp): Use dynamic_cast.
2018-05-25 12:41:00 -06:00
..
cli-cmds.c
cli-cmds.h
cli-decode.c
cli-decode.h Use counted_command_line everywhere 2018-05-04 15:58:06 -06:00
cli-dump.c
cli-interp.c Change the as_*_interp functions to use dynamic_cast 2018-05-25 12:41:00 -06:00
cli-interp.h
cli-logging.c
cli-script.c Let gdb.execute handle multi-line commands 2018-05-04 15:58:09 -06:00
cli-script.h Let gdb.execute handle multi-line commands 2018-05-04 15:58:09 -06:00
cli-setshow.c
cli-setshow.h
cli-utils.c
cli-utils.h