+2019-07-03 Pedro Alves <palves@redhat.com>
+
+ * cli/cli-option.c (union option_value) <string>: New field.
+ (struct option_def_and_value): Add ctor, move ctor, dtor and
+ use DISABLE_COPY_AND_ASSIGN.
+ (option_def_and_value::clear_value): New.
+ (parse_option, save_option_value_in_ctx, get_val_type_str)
+ (add_setshow_cmds_for_options): Handle var_string.
+ * cli-option.h (union option_def::var_address) <string>: New
+ field.
+ (struct string_option_def): New.
+ * maint-test-options.c (struct test_options_opts): Add default
+ ctor and use DISABLE_COPY_AND_ASSIGN.
+ <string_opt>: New field.
+ (test_options_opts::~test_options_opts): New.
+ (test_options_opts::dump): Also dump "-string".
+ (test_options_option_defs): Install "string.
+
+2019-07-03 Pedro Alves <palves@redhat.com>
+
+ * cli/cli-option.c (parse_option) <var_enum>: Don't return an
+ option_value with a null enumeration.
+ (complete_options): Save the option values in the context.
+ (save_option_value_in_ctx): New, factored out from ...
+ (process_options): ... here.
+ * cli/cli-utils.c (get_ulongest): Don't advance PP until the end
+ of the function.
+ * maint-test-options.c (test_options_opts::dump): New, factored
+ out from ...
+ (maintenance_test_options_command_mode): ... here.
+ (maintenance_test_options_command_completion_result): Delete.
+ (maintenance_test_options_command_completion_text): Update
+ comment.
+ (maintenance_show_test_options_completion_result): Change
+ prototype. Just print
+ maintenance_test_options_command_completion_text.
+ (save_completion_result): New.
+ (maintenance_test_options_completer_mode): Pass options context to
+ complete_options, and then save a dump.
+ (_initialize_maint_test_options): Use add_cmd to install "maint
+ show test-options-completion-result".
+
+2019-07-03 Pedro Alves <palves@redhat.com>
+
+ * NEWS (New commands): Mention "with" and "maint with".
+ * cli/cli-cmds.c (with_command_1, with_command_completer_1)
+ (with_command, with_command_completer): New.
+ (pipe_command): Adjust to new repeat_previous
+ interface.
+ (_initialize_cli_cmds): Install the "with" command and its "w"
+ alias.
+ * cli/cli-cmds.h (with_command_1, with_command_completer_1): New
+ declarations.
+ * cli/cli-setshow.c (parse_cli_var_uinteger)
+ (parse_cli_var_zuinteger_unlimited, do_set_command): Handle empty
+ argument strings for all var_types.
+ (get_setshow_command_value_string): New, factored out from ...
+ (do_show_command): ... this.
+ * cli/cli-setshow.h: Include <string>.
+ (get_setshow_command_value_string): Declare.
+ * command.h (repeat_previous): Now returns const char *. Adjust
+ comment.
+ * maint.c: Include "cli/cli-cmds.h".
+ (maintenance_with_cmd, maintenance_with_cmd_completer): New.
+ (_initialize_maint_cmds): Register the "maintenance with" command.
+ * top.c (repeat_previous): Move bits from pipe_command here:
+ Return the saved command line, if any; error out if there's no
+ command to relaunch.
+
+2019-07-03 Pedro Alves <palves@redhat.com>
+
+ * NEWS (New commands): Mention "maint set/show test-settings"
+ instead of "maint test-settings".
+ * maint-test-settings.c (maintenance_test_settings_list): Delete.
+ (maintenance_test_settings_set_list): Rename to ...
+ (maintenance_set_test_settings_list): ... this.
+ (maintenance_test_settings_show_list): Rename to ...
+ (maintenance_show_test_settings_list): ... this.
+ (maintenance_test_settings_cmd): Delete.
+ (maintenance_test_settings_set_cmd): ...
+ (maintenance_set_test_settings_cmd): ... this.
+ (maintenance_test_settings_show_cmd): ...
+ (maintenance_show_test_settings_cmd): ... this.
+ (maintenance_test_settings_show_value_cmd):
+ (maintenance_show_test_settings_value_cmd): ... this.
+ (_initialize_maint_test_settings): No longer install the "maint
+ test-settings" prefix command. Rename "maint test-settings set"
+ to "maint set test-settings", and "maint test-settings show" to
+ "maint show test-settings". Adjust all subcommands.
+
+2019-07-03 Pedro Alves <palves@redhat.com>
+
+ * maint-test-settings.c: Fix file's intro comment. Replace all
+ references to "test-options" with references to "test-settings",
+ in comments.
+
2019-07-03 Pedro Alves <palves@redhat.com>
* maint-test-settings.c (maintenance_test_settings_xxx)