binutils-gdb/gdb/cli
Tom Tromey 7170dadf59 Add a "context" argument to add_setshow_enum_cmd
This adds a "context" argument to add_setshow_enum_cmd.  Now
add_setshow_enum_cmd will call set_cmd_context on both of the new
commands.  This is used in a later patch.

gdb/ChangeLog
2018-12-28  Tom Tromey  <tom@tromey.com>

	* command.h (add_setshow_enum_cmd): Add "context" argument.
	* cli/cli-decode.c (add_setshow_enum_cmd): Add "context"
	argument.  Call set_cmd_context.
2018-12-28 12:49:47 -07:00
..
cli-cmds.c Unify shell-finding logic 2018-10-27 11:58:40 -06:00
cli-cmds.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cli-decode.c Add a "context" argument to add_setshow_enum_cmd 2018-12-28 12:49:47 -07:00
cli-decode.h Use counted_command_line everywhere 2018-05-04 15:58:06 -06:00
cli-dump.c Fix PR cli/23785: Check if file exists when invoking "restore FILE binary" 2018-10-18 17:39:09 -04:00
cli-interp.c Avoid find_thread_ptid with null_ptid 2018-11-22 16:09:12 +00:00
cli-interp.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cli-logging.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cli-script.c python: Make gdb.execute("show commands") work (PR 23669) 2018-09-17 08:26:24 -04:00
cli-script.h Let gdb.execute handle multi-line commands 2018-05-04 15:58:09 -06:00
cli-setshow.c Convert observers to C++ 2018-03-19 09:37:49 -06:00
cli-setshow.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cli-utils.c New cli-utils.h/.c function extract_info_print_args 2018-10-27 13:45:57 +02:00
cli-utils.h New cli-utils.h/.c function extract_info_print_args 2018-10-27 13:45:57 +02:00