Fix "set integer-command unlimited junk"
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 08d038bf37b2d16c7eaa769ce60ba910242ebf74..91f3b7549ab3276b2aa8623c9133952b9d4badc0 100644 (file)
@@ -1,3 +1,84 @@
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-setshow.c (cli/cli-setshow.c): New parameter
+       'expression'.  When parsing an expression, error out if there's
+       junk after "unlimited".
+       (parse_cli_var_uinteger, parse_cli_var_zuinteger_unlimited)
+       (do_set_command): Adjust calls to is_unlimited_literal.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * compile/compile.c (make_compile_options_def_group): Add braces
+       around array_view initializer.
+       * thread.c (make_thread_apply_all_options_def_group)
+       (make_thread_apply_all_options_def_group): Likewise.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * NEWS (New commands): Mention "maint test-options
+       require-delimiter", "maint test-options unknown-is-error", "maint
+       test-options unknown-is-operand" and "maint show
+       test-options-completion-result".
+       (New command options, command completion): New section.
+       (Completion improvements): New section.
+       Mention that you can abbreviate "unlimited".
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-utils.c (parse_flags, parse_flags_qcs): Delete.
+       * cli/cli-utils.h (parse_flags, parse_flags_qcs): Delete.
+       * unittests/cli-utils-selftests.c (test_parse_flags)
+       (test_parse_flags_qcs): Delete.
+       (test_cli_utils): Don't call deleted functions.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * thread.c: Include "cli/cli-option.h".
+       (tp_array_compar_ascending): Global.
+       (tp_array_compar): Delete function.
+       (tp_array_compar_ascending, tp_array_compar_descending): New
+       functions.
+       (ascending_option_def, qcs_flag_option_def)
+       (thr_qcs_flags_option_defs)
+       (make_thread_apply_all_options_def_group)
+       (make_thread_apply_options_def_group): New.
+       (thread_apply_all_command): Use gdb::option::process_options.
+       (thread_apply_command_completer)
+       (thread_apply_all_command_completer): New.
+       (thread_apply_command): Use gdb::option::process_options.
+       (_initialize_thread): Delete THREAD_APPLY_FLAGS_HELP, replace it
+       with a new THREAD_APPLY_OPTION_HELP.  Use gdb::option::build_help
+       to generate help text of "thread apply".  Adjust "taas"'s help.
+       * tid-parse.c (tid_range_parser::in_thread_range): New method.
+       * tid-parse.h (tid_range_parser::in_thread_range): New method.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * thread.c (thread_apply_command): Check for invalid TID with
+       isdigit instead of !isalpha.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-utils.c (parse_flags_qcs): Use validate_flags_qcs.
+       (validate_flags_qcs): New.
+       * cli/cli-utils.h (struct qcs_flags): Change field types to int.
+       (validate_flags_qcs): Declare.
+       * stack.c (qcs_flag_option_def, fr_qcs_flags_option_defs): New.
+       (make_frame_apply_options_def_group): New.
+       (frame_apply_command_count): Process options with
+       gdb::option::process_options.
+       (frame_apply_completer): New.
+       (frame_apply_level_completer, frame_apply_all_completer)
+       (frame_apply_completer): New.
+       (_initialize_stack): Update help of "frame apply", "frame apply
+       level", "frame apply all" and "faas" to mention supported options
+       and install command completers.
+       * stack.h (frame_apply_all_completer): Declare.
+       * thread.c: Include "stack.h".
+       (tfaas_command): Add "--".
+       (_initialize_thread): Update help "tfaas" to mention supported
+       options and install command completer.
+
 2019-06-13  Pedro Alves  <palves@redhat.com>
 
        * completer.c (complete_nested_command_line): New.
This page took 0.024933 seconds and 4 git commands to generate.