]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
Remove alloca(0) calls
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 8d8a6789ab3809456921fc04df2552dcbbe5a2b1..cc0e9fd1d07e3c9846171df7732f7ae37cff9ed8 100644 (file)
@@ -1,3 +1,714 @@
+2019-06-14  Tom Tromey  <tromey@adacore.com>
+
+       PR gdb/24653:
+       * regcache.c (registers_changed): Don't call alloca.
+       * top.c (execute_command): Don't call alloca.
+
+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.
+       (gdb_completion_word_break_characters_throw): Add assertion.
+       * completer.h (complete_nested_command_line): Declare.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * stack.c (parse_backtrace_qualifiers): New.
+       (backtrace_command): Use it.
+       (backtrace_command_completer): Complete on qualifiers.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * frame.c: Include "cli/cli-option.h.
+       (user_set_backtrace_options): New.
+       (backtrace_past_main, backtrace_past_entry, backtrace_limit):
+       Delete.
+       (get_prev_frame): Adjust.
+       (boolean_option_def, uinteger_option_def)
+       (set_backtrace_option_defs): New.
+       (_initialize_frame): Adjust and use
+       gdb::option::add_setshow_cmds_for_options to install "set
+       backtrace past-main" and "set backtrace past-entry".
+       * frame.h: Include "cli/cli-option.h".
+       (struct frame_print_options): Forward declare.
+       (print_frame_arguments_all, print_frame_arguments_scalars)
+       (print_frame_arguments_none): Declare.
+       (print_entry_values): Delete declaration.
+       (struct frame_print_options, user_frame_print_options): New.
+       (struct set_backtrace_options): New.
+       (set_backtrace_option_defs, user_set_backtrace_options): Declare.
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames)
+       (mi_cmd_stack_list_locals, mi_cmd_stack_list_args)
+       (mi_cmd_stack_list_variables): Pass down USER_FRAME_PRINT_OPTIONS.
+       (list_args_or_locals): Add frame_print_options parameter.
+       (mi_cmd_stack_info_frame): Pass down USER_FRAME_PRINT_OPTIONS.
+       * python/py-framefilter.c (enumerate_args): Pass down
+       USER_FRAME_PRINT_OPTIONS.
+       * stack.c: Include "cli/cli-option.h".
+       (print_frame_arguments_all, print_frame_arguments_scalars)
+       (print_frame_arguments_none): Declare.
+       (print_raw_frame_arguments, print_entry_values): Delete.
+       (user_frame_print_options): New.
+       (boolean_option_def, enum_option_def, frame_print_option_defs):
+       New.
+       (struct backtrace_cmd_options): New.
+       (bt_flag_option_def): New.
+       (backtrace_command_option_defs): New.
+       (print_stack_frame): Pass down USER_FRAME_PRINT_OPTIONS.
+       (print_frame_arg, read_frame_arg, print_frame_args)
+       (print_frame_info, print_frame): Add frame_print_options parameter
+       and use it.
+       (info_frame_command_core): Pass down USER_FRAME_PRINT_OPTIONS.
+       (backtrace_command_1): Add frame_print_options and
+       backtrace_cmd_options parameters and use them.
+       (make_backtrace_options_def_group): New.
+       (backtrace_command): Process command options with
+       gdb::option::process_options.
+       (backtrace_command_completer): New.
+       (_initialize_stack): Extend "backtrace"'s help to mention
+       supported options.  Install completer for "backtrace".
+       Install some settings commands with add_setshow_cmds_for_options.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * NEWS (Changed commands): Mention set/show print raw-frame-arguments,
+       and that "set/show print raw frame-arguments" are now deprecated.
+
+       * cli/cli-decode.c (add_setshow_boolean_cmd): Now returns the
+       command.
+       * command.h (add_setshow_boolean_cmd): Return cmd_list_element *.
+       * stack.c (_initialize_stack): Install "set/show print
+       raw-frame-arguments", and deprecate "set/show print raw
+       frame-arguments".
+       * valprint.c (_initialize_valprint): Deprecate "set/show print
+       raw".
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * compile/compile.c (struct compile_options): New.
+       (compile_flag_option_def, compile_command_option_defs)
+       (make_compile_options_def_group): New.
+       (compile_file_command): Handle options with
+       gdb::option::process_options.
+       (compile_file_command_completer): New function.
+       (compile_code_command): Handle options with
+       gdb::option::process_options.
+       (compile_code_command_completer): New function.
+       (_initialize_compiler): Install completers for "compile code" and
+       "compile file".  Mention available options in "compile code" and
+       "compile code"'s help.
+       * completer.c (advance_to_completion_word): New, factored out from
+       ...
+       (advance_to_expression_complete_word_point): ... this.
+       (advance_to_filename_complete_word_point): New.
+       * completer.h (advance_to_filename_complete_word_point): New
+       declaration.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * compile/compile.c: Include "cli/cli-option.h".
+       (compile_print_value): Scope data pointer is now a
+       value_print_options pointer; adjust.
+       (compile_print_command): Process options.  Scope data pointer is
+       now a value_print_options pointer; adjust.
+       (_initialize_compile): Update "compile print"'s help to include
+       supported options.  Install a completer for "compile print".
+       * cp-valprint.c (show_vtblprint, show_objectprint)
+       (show_static_field_print): Delete.
+       (_initialize_cp_valprint): Don't install "set print
+       static-members", "set print vtbl", "set print object" here.
+       * printcmd.c: Include "cli/cli-option.h" and
+       "common/gdb_optional.h".
+       (print_command_parse_format): Rework to fill in a
+       value_print_options instead of a format_data.
+       (print_value): Change parameter type from format_data pointer to
+       value_print_options reference.  Adjust.
+       (print_command_1): Process options.  Adjust to pass down a
+       value_print_options.
+       (print_command_completer): New.
+       (_initialize_printcmd): Install print_command_completer as
+       handle_brkchars completer for the "print" command.  Update
+       "print"'s help to include supported options.
+       * valprint.c: Include "cli/cli-option.h".
+       (show_vtblprint, show_objectprint, show_static_field_print): Moved
+       here from cp-valprint.c.
+       (boolean_option_def, uinteger_option_def)
+       (value_print_option_defs, make_value_print_options_def_group):
+       New.  Use gdb::option::add_setshow_cmds_for_options to install
+       "set print elements", "set print null-stop", "set print repeats",
+       "set print pretty", "set print union", "set print array", "set
+       print address", "set print symbol", "set print array-indexes".
+       * valprint.h: Include <string> and "cli/cli-option.h".
+       (make_value_print_options_def_group): Declare.
+       (print_value): Change parameter type from format_data pointer to
+       value_print_options reference.
+       (print_command_completer): Declare.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (SUBDIR_CLI_SRCS): Add cli/cli-option.c.
+       (COMMON_SFILES): Add maint-test-settings.c.
+       * cli/cli-decode.c (boolean_enums): New global, factored out from
+       ...
+       (add_setshow_boolean_cmd): ... here.
+       * cli/cli-decode.h (boolean_enums): Declare.
+       * cli/cli-option.c: New file.
+       * cli/cli-option.h: New file.
+       * cli/cli-setshow.c (parse_cli_boolean_value(const char **)): New,
+       factored out from ...
+       (parse_cli_boolean_value(const char *)): ... this.
+       (is_unlimited_literal): Change parameter type to pointer to
+       pointer.  Adjust and advance ARG pointer.
+       (parse_cli_var_uinteger, parse_cli_var_zuinteger_unlimited)
+       (parse_cli_var_enum): New, factored out from ...
+       (do_set_command): ... this.  Adjust.
+       * cli/cli-setshow.h (parse_cli_boolean_value)
+       (parse_cli_var_uinteger, parse_cli_var_zuinteger_unlimited)
+       (parse_cli_var_enum): Declare.
+       * cli/cli-utils.c: Include "cli/cli-option.h".
+       (get_ulongest): New.
+       * cli/cli-utils.h (get_ulongest): Declare.
+       (check_for_argument): New overloads.
+       * maint-test-options.c: New file.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-utils.c (number_or_range_parser::get_number): Do not
+       parse a range if "-" is at the end of the string.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-setshow.c (parse_auto_binary_operation)
+       (parse_cli_boolean_value): Don't allow "o".
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (COMMON_SFILES): Add maint-test-settings.c.
+       * NEWS: Mention maint test-settings KIND.
+       * maint-test-settings.c: New file.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-decode.c (add_setshow_cmd_full): Remove "show"
+       completer.
+       (add_setshow_string_cmd, add_setshow_string_noescape_cmd): Remove
+       "set" completers.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-setshow.c (do_set_command) <var_enum>: Detect junk
+       after item.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-setshow.c (is_unlimited_literal): Allow abbreviations.
+
+2019-06-13  Pedro Alves <palves@redhat.com>
+
+       * ax-gdb.c (agent_command_1): Remove skip_spaces call.
+       * breakpoint.c (watch_maybe_just_location): Remove skip_spaces
+       call.
+       * cli/cli-cmds.c (apropos_command): Remove skip_spaces call.
+       * cli/cli-utils.c (extract_info_print_args): Remove skip_spaces
+       calls.
+       (check_for_argument): Skip spaces after argument.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * thread.c (thread_apply_command): Adjust TID parsing.
+       * tid-parse.c (tid_range_parser::finished): Ensure parsing end is
+       detected before end of string.
+       (tid_is_in_list): Error out if LIST is invalid.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * completer.c (complete_line_internal_1): Rewind completion word
+       point.
+       (completion_tracker::advance_custom_word_point_by): Change
+       parameter type to int.
+       * completer.h (completion_tracker::advance_custom_word_point_by):
+       Likewise.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
+       * completer.c (advance_to_completion_word): Handle delimiters.
+
+2019-06-11  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * dwarf2read.c (add_partial_symbol): Skip nameless modules.
+
+2019-06-11  Tom Tromey  <tom@tromey.com>
+
+       * common/common-utils.c (xmalloc, xrealloc, xcalloc)
+       (xmalloc_failed): Move to alloc.c.
+       * alloc.c: New file.
+       * Makefile.in (COMMON_SFILES): Add alloc.c.
+
+2019-06-11  Tom Tromey  <tom@tromey.com>
+
+       * nat/linux-waitpid.c: Don't include server.h.
+       (linux_debug): Remove.
+       (my_waitpid): Update.
+
+2019-06-11  Tom Tromey  <tromey@adacore.com>
+
+       * infcall.c (_initialize_infcall): Remove trailing newline from
+       help.
+       * user-regs.c (_initialize_user_regs): Remove trailing newline
+       from help.
+       * typeprint.c (_initialize_typeprint): Remove trailing newline
+       from help.
+       * reverse.c (_initialize_reverse): Remove trailing newlines from
+       help.
+       * tracepoint.c (_initialize_tracepoint): Remove trailing newlines
+       from help.
+       * language.c (add_set_language_command): Remove trailing newline
+       from help.
+       * infcmd.c (_initialize_infcmd): Remove trailing newlines from
+       help.
+       * disasm.c (_initialize_disasm): Remove trailing newline from
+       help.
+       * top.c (init_main): Remove trailing newline from help.
+       * interps.c (_initialize_interpreter): Remove trailing newline
+       from help.
+       * btrace.c (_initialize_btrace): Remove trailing newlines from
+       help.
+       * breakpoint.c (_initialize_breakpoint): Remove trailing newline
+       from help.
+       * python/python.c (_initialize_python): Remove trailing newline
+       from help.
+       * spu-tdep.c (_initialize_spu_tdep): Remove trailing newlines from
+       help.
+       * tui/tui-win.c (_initialize_tui_win): Remove trailing newlines
+       from help.  Reformat some text.
+       * tui/tui-stack.c (_initialize_tui_stack): Remove trailing newline
+       from help.
+       * tui/tui-layout.c (_initialize_tui_layout): Remove trailing
+       newline from help.
+
+2019-06-11  Tom Tromey  <tromey@adacore.com>
+
+       * darwin-nat.c (darwin_decode_exception_message)
+       (darwin_decode_message, darwin_nat_target::kill): Fix shadowing.
+
+2019-06-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * valops.c (value_slice): Check for not allocated or not
+       associated values.
+
+2019-06-10  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/24618
+       * dwarf2read.c (struct mapped_index::symbol_name_slot_invalid): Make
+       sure an empty slot (defined by a 32-bit zero pair) is recognized as
+       invalid.
+
+2019-06-10  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/24611
+       * linespec.c (linespec_lexer_lex_string): Remove incorrect
+       "++(PARSER_STREAM (parser))" for "[abi"-prefixed colon.  Add assert.
+
+2019-06-10  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/24545
+       * symtab.c (struct demangled_name_entry): Add language field.
+       (symbol_set_names):  Revert "[gdb/symtab] Fix language of duplicate
+       static minimal symbol".  Set and use language field.
+
+2019-06-10  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (_initialize_ada_language): Update help text.
+
+2019-06-10  Tom Tromey  <tromey@adacore.com>
+
+       * m32c-tdep.c (m32c_m16c_address_to_pointer): Don't end warning
+       with a newline.
+       * guile/guile.c (handle_boot_error): Don't end warning with a
+       newline.
+       * cli/cli-cmds.c (exit_status_set_internal_vars): Don't end
+       warning with a newline.
+       * s12z-tdep.c (s12z_skip_prologue): Don't end warning with a
+       newline.
+       (s12z_frame_cache): Likewise.
+       * dwarf-index-cache.c (index_cache::store): Don't end warning with
+       a newline.
+       * solib-svr4.c (disable_probes_interface): Don't end warning with
+       a newline.
+       * nat/fork-inferior.c (fork_inferior): Don't end warning with a
+       newline.
+       * python/python.c (do_finish_initialization): Don't end warning
+       with a newline.
+
+2019-06-10  Tom Tromey  <tom@tromey.com>
+
+       * python/py-breakpoint.c (gdbpy_breakpoint_created)
+       (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
+       gdbpy_enter.
+
+2019-06-10  Tom Tromey  <tromey@adacore.com>
+
+       * elfread.c (elf_read_minimal_symbols): Don't set the dbx objfile
+       data.
+       (elf_new_init): Don't call stabsread_new_init.
+       * dbxread.c (coffstab_build_psymtabs): Set dbx objfile data.
+       (elfstab_build_psymtabs): Likewise.  Call stabsread_new_init.
+       * coffread.c (coff_symfile_init): Don't set the dbx objfile data.
+
+2019-06-10  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/16264
+       PR symtab/24517
+       * dwarf2read.c (read_func_scope): Handle DW_AT_main_subprogram.
+
+2019-06-06  Руслан Ижбулатов <lrn1986@gmail.com>
+
+       * source.c (find_and_open_source): Also rewrite relative file
+       names.
+
+2019-04-26  Amos Bird  <amosbird@gmail.com>
+
+       * annotate.c (annotate_thread_exited): Add "thread-exited"
+       annotation.
+
+2019-06-06  Tom Tromey  <tromey@adacore.com>
+
+       * maint.h (class scoped_command_stats): Use
+       DISABLE_COPY_AND_ASSIGN.
+       <print_time>: New method.
+       * maint.c (scoped_command_stats, ~scoped_command_stats): Call
+       print_time.
+       (scoped_command_stats::print_time): New method.
+
+2019-06-05  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_insn::decode): Gracefully ignore
+       instructions of lengths 6 or 8 bytes.
+
+2019-06-04  Pedro Alves  <palves@redhat.com>
+
+       * common/gdb_unique_ptr.h (make_unique_xstrdup): New.
+
+       * ada-lang.c (catch_ada_completer): Use make_unique_xstrdup.
+       * breakpoint.c (condition_completer): Likewise.
+       * cli/cli-dump.c (scan_expression): Likewise.
+       * common/filestuff.c (mkdir_recursive): Likewise.
+       * common/gdb_tilde_expand.c (gdb_tilde_expand_up)
+       * common/pathstuff.c (gdb_realpath, gdb_realpath_keepfile)
+       (gdb_abspath): Likewise.
+       * compile/compile-cplus-types.c
+       (compile_cplus_instance::decl_name): Likewise.
+       * completer.c (complete_explicit_location):
+       (signal_completer, reg_or_group_completer_1): Likewise.
+       * cp-support.c (cp_remove_params_if_any): Likewise.
+       * fbsd-tdep.c (fbsd_core_vnode_path): Likewise.
+       * guile/scm-safe-call.c (gdbscm_safe_eval_string): Likewise.
+       * infcmd.c (strip_bg_char): Likewise.
+       * linespec.c (copy_token_string): Likewise.
+       * mi/mi-main.c (output_cores): Likewise.
+       * psymtab.c (psymtab_search_name):
+       * symfile.c (test_set_ext_lang_command): Likewise.
+       * target.c (target_fileio_read_stralloc): Likewise.
+       * tui/tui-regs.c (tui_reggroup_completer): Likewise.
+       * value.c (complete_internalvar): Likewise.
+
+2019-06-04  Christian Biesinger  <cbiesinger@google.com>
+
+       Add objfile property to gdb.Type.
+       * NEWS: Mention Python API addition.
+       * python/py-type.c (typy_get_objfile): New method.
+
+2019-06-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * NEWS: Mention the new set|show style [title|highlight].
+       Mention changes to "show style", "help" and "apropos".
+
+2019-06-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * cli/cli-decode.h (apropos_cmd): Add verbose argument.
+       * cli/cli-decode.c (apropos_cmd): Likewise.  Use print_doc_of_command
+       instead of print_help_for_command.
+       (print_doc_of_command): New function.
+       (help_list): Add 'apropos -v word' suggestion.
+       (print_help_for_command): Style the command name using title style.
+       * cli/cli-cmds.c (apropos_command): Parse optional -v flag.
+       (_initialize_cli_cmds): Describe -v in apropos_command help.
+
+2019-06-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * cli/cli-style.h (cli_style_option): Add name in constructor,
+       add m_name class member, add constructor with intensity,
+       add name class function.
+       (cli_style_option::add_setshow_commands): Remove name argument.
+       (highlight_style, title_style): New styles.
+       * cli/cli-style.c (do_show): New function that shows a style
+       characteristic styling the style name with itself.
+       (set_style_name): New function.
+       (STYLE_ADD_SETSHOW_COMMANDS): Remove NAME arguments.
+       Update all callers according to the changes in cli/cli-style.h.
+       * utils.h (fputs_highlighted): New function.
+       * utils.c (fputs_highlighted): Likewise.
+
+2019-05-31  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * NEWS: Mention new pipe command and new convenience variables.
+
+2019-05-31  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * cli/cli-cmds.c (pipe_command): New function.
+       (_initialize_cli_cmds): Call add_com for pipe_command.
+       Define | as an alias for pipe.
+       (exit_status_set_internal_vars): New function.
+       (shell_escape): Call exit_status_set_internal_vars.
+       cli/cli-decode.c (find_command_name_length): Recognize | as
+       a single character command.
+
+2019-05-31  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdbcmd.h (execute_command_to_ui_file): New declaration.
+       top.c (execute_command_to_ui_file): New function, mostly a copy
+       of execute_command_to_string.
+       (execute_command_to_string): Implement by calling
+       execute_command_to_ui_file.
+
+2019-05-31  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * top.h (saved_command_line): Remove declaration.
+       * top.c (previous_saved_command_line, previous_repeat_arguments):
+       New variables.
+       (saved_command_line): Make static, define together with other
+       'repeat variables'.
+       (dont_repeat): Clear repeat_arguments.
+       (repeat_previous, get_saved_command_line, save_command_line):
+       New functions.
+       (gdb_init): Initialize saved_command_line
+       and previous_saved_command_line.
+       * main.c (captured_main_1): Remove saved_command_line initialization.
+       * event-top.c (handle_line_of_input): Update to use
+       the new 'repeat' related functions instead of direct access to
+       saved_command_line.
+       * command.h (repeat_previous, get_saved_command_line,
+       save_command_line): New declarations.
+       (dont_repeat): Add comment.
+
+2019-05-30  Tom Tromey  <tromey@adacore.com>
+
+       * gdbtypes.h (struct range_bounds) <flag_upper_bound_is_count>:
+       Fix comment.
+       (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED): Rewrite comment.
+
+2019-05-30  Jan Vrany  <jan.vrany@fit.cvut.cz>
+
+       PR cli/24587
+       * completer.c (complete): Initialize variable word.
+
+2019-05-29  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       Ref.: https://bugzilla.redhat.com/show_bug.cgi?id=1708192
+       Ref.: https://bugzilla.redhat.com/show_bug.cgi?id=1715008
+       * dwarf2read.c (dwarf_decode_macro_bytes): Move check to see if
+       'body' is NULL to the outter 'if', protecting the '!is_define'
+       situation as well.
+
+2019-05-29  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2read.c (partial_die_parent_scope): Call dwarf_tag_name.
+       (dwarf_unknown): New function.
+       (dwarf_tag_name, dwarf_attr_name, dwarf_form_name)
+       (dwarf_type_encoding_name): Use dwarf_unknown.
+
+2019-05-29  Tom Tromey  <tromey@adacore.com>
+
+       PR c++/20020:
+       * cp-valprint.c (cp_print_value_fields): Call
+       cp_print_static_field inside "try".
+
+2019-05-29  Tom Tromey  <tromey@adacore.com>
+
+       * inflow.c (struct terminal_info): Add default operator=.
+       * configure: Rebuild.
+       * warning.m4 (AM_GDB_WARNINGS): Add -Wdeprecated-copy,
+       -Wdeprecated-copy-dtor, -Wredundant-move.
+
+2019-05-29  Tom Tromey  <tromey@adacore.com>
+
+       * NEWS: Add entry.
+       * infcmd.c (print_return_value_1): Handle finish_print
+       option.
+       (show_print_finish): New function.
+       (_initialize_infcmd): Add "set/show print finish" commands.
+       * valprint.c (user_print_options): Initialize new member.
+       * valprint.h (struct value_print_options) <finish_print>: New
+       member.
+
+2019-05-28  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (ada_remove_Xbn_suffix)
+       (find_old_style_renaming_symbol)
+       (parse_old_style_renaming): Remove.
+       (ada_find_renaming_symbol): Don't call
+       find_old_style_renaming_symbol.
+       (ada_is_renaming_symbol): Rename from
+       ada_find_renaming_symbol.  Remove "block" parameter.  Return
+       bool.  Now static.
+       (ada_read_var_value): Update and simplify.
+       * ada-exp.y (write_var_or_type): Remove old code.
+
+2019-05-28  Alan Hayward  <alan.hayward@arm.com>
+
+       * event-top.c: Remove include comment.
+       * inflow.c (class scoped_ignore_sigttou): Move from here...
+       * inflow.h (class scoped_ignore_sigttou): ...to here.
+       * ser-unix.c (hardwire_drain_output): Block SIGTTOU during drain.
+       * top.c:  Remove include comment.
+
+2019-05-27  Tom Tromey  <tom@tromey.com>
+
+       * NEWS: Fix typo.
+
+2019-05-22  Tom Tromey  <tromey@adacore.com>
+
+       * target.c (target_follow_exec): Constify parameter.
+       * target-delegates.c: Rebuild.
+       * remote.c (remote_target::follow_exec): Constify parameter.
+       * infrun.c (follow_exec): Constify parameter.
+       * target.h (struct target_ops) <follow_exec>: Constify parameter.
+       (target_follow_exec): Likewise.
+
+2019-05-22  Alan Hayward  <alan.hayward@arm.com>
+
+       * aarch64-tdep.c (aarch64_execute_dwarf_cfa_vendor_op): Treat
+       DW_CFA_AARCH64_negate_ra_state as nop on non pauth targets.
+
+2019-05-22  Alan Hayward  <alan.hayward@arm.com>
+
+       * NEWS: Add debugredirect and testsuite sections.
+
+2019-05-22  Simon Cook  <simon.cook@embecosm.com>
+
+       * riscv-tdep.c (riscv_gdbarch_init): Support determining flen from
+       target descriptions using exclusively floating point register name
+       aliases.
+
+2019-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/18644:
+       * f-lang.c (build_fortran_types): Handle the case where
+       gdbarch_floatformat_for_type returns a nullptr.
+
+2019-05-21  Tom de Vries  <tdevries@suse.de>
+
+       PR cli/24587
+       * cli/cli-cmds.c (complete_command): Fix use of unitialized variable.
+
+2019-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/18644:
+       * f-lang.c (build_fortran_types): Use floatformats_ia64_quad for
+       16-byte floats.
+       * i386-tdep.c (i386_floatformat_for_type): Use
+       floatformats_ia64_quad for the 16-byte floating point component
+       within a fortran 32-byte complex number.
+
+2019-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * dwarf2read.c (struct cu_partial_die_info): Add constructor,
+       delete default constructor.
+       (find_partial_die): Update to return const struct.
+       (partial_die_parent_scope): Move variable declaration into scope
+       of its use and change its type to auto.
+       (guess_partial_die_structure_name): Likewise.
+       (partial_die_info::fixup): Likewise.
+
+2019-05-17  Tom Tromey  <tromey@adacore.com>
+
+       * source.c (find_and_open_source): Remove cast.
+
+2019-05-17  Tom Tromey  <tromey@adacore.com>
+
+       * annotate.c (annotate_source): Make "filename" const.
+       * annotate.h (annotate_source): Use const.
+
 2019-05-17  Alan Hayward  <alan.hayward@arm.com>
 
        * disasm.c (set_disassembler_options): Send errors to stderr.