Introduce the "with" command
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9601178492227b34b20a05f98187c6ca18657151..adc56b498993a039825c1d491f1d0417069fae83 100644 (file)
@@ -1,3 +1,85 @@
+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)
+       (maintenance_test_settings_yyy, maintenance_test_settings_zzz):
+       New.
+       (maintenance_test_settings_enums): Use them.
+       (maintenance_test_settings_enum): Default to
+       maintenance_test_settings_xxx.
+       (_initialize_maint_test_settings): Initialize
+       MAINTENANCE_TEST_SETTINGS_FILENAME.
+
+2019-07-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.h (remove_breakpoints_inf): Change return type to
+       void, move function documentation here.
+       * breakpoint.c (remove_breakpoints_inf): Change return type to
+       void, move function documentation to header.
+
+2019-07-02  Pedro Alves  <palves@redhat.com>
+
+       * NEWS (Completion improvements): Mention "info threads".
+       * thread.c (struct info_threads_opts, info_threads_option_defs)
+       (make_info_threads_options_def_group): New.
+       (info_threads_command): Use gdb::option::process_options.
+       (info_threads_command_completer): New.
+       (_initialize_thread): Use gdb::option::build_help to build the
+       help text for "info threads".
+
 2019-07-02  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * defs.h (generic_load): Move from here...
This page took 0.025877 seconds and 4 git commands to generate.