+2020-05-07 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (struct type) <get_dyn_prop>: New method.
+ (get_dyn_prop): Remove. Update all users to use
+ type::dyn_prop.
+ * gdbtypes.c (get_dyn_prop): Rename to...
+ (type::dyn_prop): ... this.
+
+2020-05-06 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (struct main_type) <flag_static>: Remove.
+
+2020-05-06 Simon Marchi <simon.marchi@efficios.com>
+
+ * amd64-tdep.c (amd64_analyze_prologue): Check for `endbr64`
+ instruction, skip it if it's there.
+
+2020-05-05 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (struct main_type) <flag_incomplete>: Remove.
+
+2020-05-04 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (TYPE_INCOMPLETE): Remove.
+ * gdbtypes.c (recursive_dump_type): Remove use of
+ TYPE_INCOMPLETE.
+
+2020-05-03 Tom Tromey <tom@tromey.com>
+
+ * breakpoint.c (catch_command, tcatch_command): Remove.
+ (_initialize_breakpoint): Use add_basic_prefix_cmd,
+ add_show_prefix_cmd.
+ (set_breakpoint_cmd, show_breakpoint_cmd): Remove
+ * utils.c (set_internal_problem_cmd, show_internal_problem_cmd):
+ Remove.
+ (add_internal_problem_command): Use add_basic_prefix_cmd,
+ add_show_prefix_cmd.
+ * mips-tdep.c (set_mipsfpu_command): Remove.
+ (_initialize_mips_tdep): Use add_basic_prefix_cmd.
+ * dwarf2/index-cache.c (set_index_cache_command): Remove.
+ (_initialize_index_cache): Use add_basic_prefix_cmd.
+ * memattr.c (dummy_cmd): Remove.
+ (_initialize_mem): Use add_basic_prefix_cmd, add_show_prefix_cmd.
+ * tui/tui-win.c (set_tui_cmd, show_tui_cmd): Remove.
+ (_initialize_tui_win): Use add_basic_prefix_cmd,
+ add_show_prefix_cmd.
+ * cli/cli-logging.c (set_logging_command): Remove.
+ (_initialize_cli_logging): Use add_basic_prefix_cmd,
+ add_show_prefix_cmd.
+ (show_logging_command): Remove.
+ * target.c (target_command): Remove.
+ (add_target): Use add_basic_prefix_cmd.
+
+2020-05-02 Hannes Domani <ssbssa@yahoo.de>
+
+ * gdbtypes.h (enum dynamic_prop_node_kind): Fix typo.
+
+2020-05-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * gdb-gdb.gdb-in: Remove breakpoint on disappeared function
+ info_command.
+
+2020-04-30 Kamil Rytarowski <n54@gmx.com>
+
+ * nbsd-nat.c (nbsd_enable_proc_events)
+ (nbsd_nat_target::post_startup_inferior): Add.
+ (nbsd_nat_target::post_attach): Call `nbsd_enable_proc_events'.
+ (nbsd_nat_target::update_thread_list): Rewrite.
+ (nbsd_nat_target::wait): Handle "PTRACE_LWP_EXIT" and
+ "PTRACE_LWP_CREATE".
+ * nbsd-nat.h (nbsd_nat_target::post_startup_inferior): Add.
+
+2020-04-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * stack.c (_initialize_stack): Remove duplicated creation
+ of "frame" command and "f" alias.
+
+2020-04-30 Hannes Domani <ssbssa@yahoo.de>
+
+ PR gdb/18706
+ * gdbtypes.c (check_typedef): Calculate size of array of
+ stubbed type.
+
+2020-04-30 Hannes Domani <ssbssa@yahoo.de>
+
+ PR gdb/15559
+ * i386-tdep.c (i386_push_dummy_call): Call
+ i386_thiscall_push_dummy_call.
+ (i386_thiscall_push_dummy_call): New function.
+ * i386-tdep.h (i386_thiscall_push_dummy_call): Declare.
+ * i386-windows-tdep.c (i386_windows_push_dummy_call): New function.
+ (i386_windows_init_abi): Call set_gdbarch_push_dummy_call.
+
+2020-04-29 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbarch.sh (do_read): Add shellcheck disable directive for
+ warning SC2162.
+
+2020-04-29 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbarch.sh: Use ${foo:-} where shellcheck would report a
+ "referenced but not assigned" warning.
+
+2020-04-29 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbarch.sh: Remove code that sets fallbackdefault.
+
+2020-04-29 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbarch.sh: Use shell operators && and || instead of
+ -a and -o.
+
+2020-04-29 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbarch.sh: Use $(...) instead of `...`.
+
+2020-04-29 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbarch.sh: Use double quotes around variables.
+
+2020-04-29 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbarch.sh: Use %s with printf, instead of variables in the
+ format string.
+
+2020-04-29 Tom Tromey <tromey@adacore.com>
+
+ PR ada/25875:
+ * dwarf2/read.c (update_enumeration_type_from_children): Compute
+ type fields here.
+ (read_enumeration_type): Call
+ update_enumeration_type_from_children later. Update comments.
+ (process_enumeration_scope): Don't create type fields.
+
+2020-04-29 Kamil Rytarowski <n54@gmx.com>
+
+ * nbsd-tdep.c: Include "xml-syscall.h".
+ (nbsd_init_abi): Call `set_xml_syscall_file_name'.
+
+2020-04-29 Kamil Rytarowski <n54@gmx.com>
+
+ * nbsd-nat.c: Include "sys/wait.h".
+ (nbsd_resume, nbsd_nat_target::resume, nbsd_wait)
+ (nbsd_nat_target::wait, nbsd_nat_target::insert_exec_catchpoint)
+ (nbsd_nat_target::remove_exec_catchpoint)
+ (nbsd_nat_target::set_syscall_catchpoint): Add.
+ * nbsd-nat.h (nbsd_nat_target::resume, nbsd_nat_target::wait)
+ (nbsd_nat_target::insert_exec_catchpoint)
+ (nbsd_nat_target::remove_exec_catchpoint)
+ (nbsd_nat_target::set_syscall_catchpoint): Add.
+ * nbsd-tdep.c (nbsd_get_syscall_number): Add.
+ (nbsd_init_abi): Call `set_gdbarch_get_syscall_number' and pass
+ `nbsd_get_syscall_number'.
+
+2020-04-29 Tom Tromey <tom@tromey.com>
+
+ * stack.c (print_block_frame_labels): Remove.
+
+2020-04-29 Hannes Domani <ssbssa@yahoo.de>
+
+ PR gdb/17320
+ * ada-valprint.c (val_print_packed_array_elements): Move array
+ end bracket to new line.
+ (ada_val_print_string): Remove extra spaces before first array
+ element.
+ * c-valprint.c (c_value_print_array): Likewise.
+ * m2-valprint.c (m2_print_array_contents): Likewise.
+ (m2_value_print_inner): Likewise.
+ * p-valprint.c (pascal_value_print_inner): Likewise.
+ * valprint.c (generic_val_print_array): Likewise.
+ (value_print_array_elements): Move first array element and array
+ end bracket to new line.
+
+2020-04-29 Tom de Vries <tdevries@suse.de>
+
+ PR symtab/25889
+ * linespec.c (find_method): Fix ix calculation.
+
+2020-04-28 Kamil Rytarowski <n54@gmx.com>
+
+ * syscalls/update-netbsd.sh: New file.
+ * syscalls/netbsd.xml: Regenerate.
+ * data-directory/Makefile.in: Register `netbsd.xml' in
+ `SYSCALLS_FILES'.
+
+2020-04-28 Simon Marchi <simon.marchi@efficios.com>
+
+ * syscalls/update-freebsd.sh: Add double quotes.
+
+2020-04-28 Tom Tromey <tom@tromey.com>
+
+ * NEWS: Update.
+ * python/py-cmd.c (gdbpy_initialize_commands): Add COMMAND_TUI.
+ (cmdpy_init): Allow class_tui.
+
+2020-04-28 Mark Williams <mark@myosotissp.com>
+
+ PR gdb/24480
+ * dwarf2read.c: Add missing assingments to list_in_scope when
+ start_symtab was already called.
+
+2020-04-28 Simon Marchi <simon.marchi@efficios.com>
+
+ PR gdb/25881
+ * dwarf2/read.c (offset_map_type): Use
+ gdb:hash_enum<sect_offset> as hash function.
+
+2020-04-28 Tom de Vries <tdevries@suse.de>
+
+ * dwarf2/read.c (process_structure_scope): Add symbol for struct decl
+ with DW_AT_signature.
+
+2020-04-27 Simon Marchi <simon.marchi@efficios.com>
+
+ * configure.ac: Remove check for fs_base/gs_base in
+ user_regs_struct.
+ * configure: Re-generate.
+ * config.in: Re-generate.
+ * amd64-nat.c (amd64_native_gregset_reg_offset): Adjust.
+ * amd64-linux-nat.c (amd64_linux_nat_target::fetch_registers,
+ amd64_linux_nat_target::store_registers, ps_get_thread_area, ): Adjust.
+
+2020-04-27 Luis Machado <luis.machado@linaro.org>
+
+ * dwarf2/frame-tailcall.c (dwarf2_tailcall_sniffer_first): Handle
+ problematic inline frame unwinding situation.
+ * frame.c (frame_id_computed_p): New function.
+ * frame.h (frame_id_computed_p): New prototype.
+
+2020-04-26 Tom Tromey <tom@tromey.com>
+
+ * command.h (enum command_class) <class_pseudo>: Remove.
+
+2020-04-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * cli/cli-decode.c (lookup_cmd_composition): Fix comments
+ and whitespace.
+
+2020-04-25 Kamil Rytarowski <n54@gmx.com>
+
+ * inf-ptrace.c (inf_ptrace_target::wait): Remove
+ `PT_GET_PROCESS_STATE' block.
+
+2020-04-24 Tom Tromey <tom@tromey.com>
+
+ * symtab.h (symbol_get_demangled_name): Don't declare.
+ * symtab.c (symbol_get_demangled_name): Remove.
+ (general_symbol_info::natural_name)
+ (general_symbol_info::demangled_name): Update.
+
+2020-04-24 Tom Tromey <tom@tromey.com>
+
+ PR rust/25025:
+ * dwarf2/read.c (dwarf2_physname): Do not demangle for Rust.
+
+2020-04-24 Tom Tromey <tom@tromey.com>
+
+ PR symtab/12707:
+ * dwarf2/read.c (add_partial_symbol): Use the linkage name if it
+ exists.
+ (new_symbol): Likewise.
+ * compile/compile-object-load.c (get_out_value_type): Use
+ symbol_matches_search_name.
+
+2020-04-24 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (add_partial_symbol): Do not call
+ compute_and_set_names.
+
+2020-04-24 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (add_partial_symbol): Use new add_psymbol_to_list
+ overload.
+
+2020-04-24 Tom Tromey <tom@tromey.com>
+
+ * psymtab.c (add_psymbol_to_bcache): Simplify calling convention.
+ (add_psymbol_to_list): New overload. Make old overload call new
+ one.
+ * psympriv.h (add_psymbol_to_list): New overload.
+
+2020-04-24 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (partial_die_info::read) <case
+ DW_AT_linkage_name>: Use value_as_string.
+ (dwarf2_string_attr): Use value_as_string.
+ * dwarf2/attribute.h (struct attribute) <value_as_string>: Declare
+ method.
+ * dwarf2/attribute.c (attribute::value_as_string): New method.
+
+2020-04-24 Tom Tromey <tom@tromey.com>
+
+ * symtab.c (general_symbol_info::natural_name)
+ (general_symbol_info::demangled_name): Check for language_rust.
+
+2020-04-24 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (dw2_linkage_name): Move Rust "{" hack here...
+ (dwarf2_physname): ... from here.
+ (partial_die_info::read): Add Rust "{" hack.
+
+2020-04-24 Tom Tromey <tom@tromey.com>
+
+ * symtab.h (struct general_symbol_info) <set_demangled_name>: New
+ method.
+ (symbol_set_demangled_name): Don't declare.
+ * symtab.c (general_symbol_info::set_demangled_name): Rename from
+ symbol_set_demangled_name.
+ (general_symbol_info::set_language)
+ (general_symbol_info::compute_and_set_names): Update.
+ * minsyms.c (minimal_symbol_reader::install): Update.
+ * dwarf2/read.c (new_symbol): Update.
+
+2020-04-24 Tom Tromey <tromey@adacore.com>
+
+ PR python/23662:
+ * python/py-type.c (convert_field): Handle
+ FIELD_LOC_KIND_DWARF_BLOCK.
+ (typy_get_sizeof): Handle TYPE_HAS_DYNAMIC_LENGTH.
+ (typy_get_dynamic): Nw function.
+ (type_object_getset): Add "dynamic".
+ * NEWS: Add entry.
+
+2020-04-24 Tom Tromey <tromey@adacore.com>
+
+ * ada-typeprint.c (print_choices, print_variant_part)
+ (print_record_field_types_dynamic): New functions.
+ (print_record_field_types): Use print_record_field_types_dynamic.
+
+2020-04-24 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2/read.c (handle_data_member_location): New overload.
+ (dwarf2_add_field): Use it.
+ (decode_locdesc): Add "computed" parameter. Update comment.
+ * gdbtypes.c (is_dynamic_type_internal): Also look for
+ FIELD_LOC_KIND_DWARF_BLOCK.
+ (resolve_dynamic_struct): Handle FIELD_LOC_KIND_DWARF_BLOCK.
+ * gdbtypes.c (is_dynamic_type_internal): Add special case for C++
+ virtual base classes.
+ * gnu-v3-abi.c (gnuv3_baseclass_offset): Handle
+ FIELD_LOC_KIND_DWARF_BLOCK.
+
+2020-04-24 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2/read.c (read_structure_type): Handle dynamic length.
+ * gdbtypes.c (is_dynamic_type_internal): Check
+ TYPE_HAS_DYNAMIC_LENGTH.
+ (resolve_dynamic_type_internal): Use TYPE_DYNAMIC_LENGTH.
+ * gdbtypes.h (TYPE_HAS_DYNAMIC_LENGTH, TYPE_DYNAMIC_LENGTH):
+ New macros.
+ (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_SIZE>: New
+ constant.
+
+2020-04-24 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2/read.c (struct variant_field): Rewrite.
+ (struct variant_part_builder): New.
+ (struct nextfield): Remove "variant" field. Add "offset".
+ (struct field_info): Add "current_variant_part" and
+ "variant_parts".
+ (alloc_discriminant_info): Remove.
+ (alloc_rust_variant): New function.
+ (quirk_rust_enum): Update.
+ (dwarf2_add_field): Set "offset" member. Don't handle
+ DW_TAG_variant_part.
+ (offset_map_type): New typedef.
+ (convert_variant_range, create_one_variant)
+ (create_one_variant_part, create_variant_parts)
+ (add_variant_property): New functions.
+ (dwarf2_attach_fields_to_type): Call add_variant_property.
+ (read_structure_type): Don't handle DW_TAG_variant_part.
+ (handle_variant_part, handle_variant): New functions.
+ (handle_struct_member_die): Use them.
+ (process_structure_scope): Don't handle variant parts.
+ * gdbtypes.h (TYPE_FLAG_DISCRIMINATED_UNION): Remove.
+ (struct discriminant_info): Remove.
+ (enum dynamic_prop_node_kind) <DYN_PROP_DISCRIMINATED>: Remove.
+ (struct main_type) <flag_discriminated_union>: Remove.
+ * rust-lang.c (rust_enum_p, rust_empty_enum_p): Rewrite.
+ (rust_enum_variant): Return int. Remove "contents". Rewrite.
+ (rust_print_enum, rust_print_struct_def, rust_evaluate_subexp):
+ Update.
+ * valops.c (value_union_variant): Remove.
+ * value.h (value_union_variant): Don't declare.
+
+2020-04-24 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (ada_discrete_type_high_bound, ada_discrete_type_low)
+ (ada_value_primitive_packed_val): Update.
+ * ada-valprint.c (ada_value_print_1): Update.
+ * dwarf2/loc.c (evaluate_for_locexpr_baton): New struct.
+ (dwarf2_locexpr_baton_eval): Take a property_addr_info rather than
+ just an address. Use evaluate_for_locexpr_baton.
+ (dwarf2_evaluate_property): Update.
+ * dwarf2/loc.h (struct property_addr_info) <valaddr>: Now an
+ array_view.
+ * findvar.c (default_read_var_value): Update.
+ * gdbtypes.c (compute_variant_fields_inner)
+ (resolve_dynamic_type_internal): Update.
+ (resolve_dynamic_type): Change type of valaddr parameter.
+ * gdbtypes.h (resolve_dynamic_type): Update.
+ * valarith.c (value_subscripted_rvalue): Update.
+ * value.c (value_from_contents_and_address): Update.
+
+2020-04-24 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2/loc.c (dwarf2_locexpr_baton_eval): Add
+ "push_initial_value" parameter.
+ (dwarf2_evaluate_property): Likewise.
+ * dwarf2/loc.h (dwarf2_evaluate_property): Update.
+
+2020-04-24 Tom Tromey <tromey@adacore.com>
+
+ * gdbtypes.c (is_dynamic_type_internal): Check for variant parts.
+ (variant::matches, compute_variant_fields_recurse)
+ (compute_variant_fields_inner, compute_variant_fields): New
+ functions.
+ (resolve_dynamic_struct): Check for DYN_PROP_VARIANT_PARTS.
+ Use resolved_type after type is made.
+ (operator==): Add new cases.
+ * gdbtypes.h (TYPE_HAS_VARIANT_PARTS): New macro.
+ (struct discriminant_range, struct variant, struct variant_part):
+ New.
+ (union dynamic_prop_data) <variant_parts, original_type>: New
+ members.
+ (enum dynamic_prop_node_kind) <DYN_PROP_VARIANT_PARTS>: New constant.
+ (enum dynamic_prop_kind) <PROP_TYPE, PROP_VARIANT_PARTS>: New
+ constants.
+ * value.c (unpack_bits_as_long): Now public.
+ * value.h (unpack_bits_as_long): Declare.
+
+2020-04-24 Tom Tromey <tromey@adacore.com>
+
+ * rs6000-tdep.c (struct ppc_variant): Rename from "variant".
+ (variants, find_variant_by_arch, rs6000_gdbarch_init): Update.
+
+2020-04-24 Hannes Domani <ssbssa@yahoo.de>
+
+ * windows-tdep.c (exception_values): Add WOW64 exception numbers.
+
+2020-04-24 Kamil Rytarowski <n54@gmx.com>
+
+ * inf-ptrace.h (follow_fork, insert_fork_catchpoint)
+ (remove_fork_catchpoint, post_startup_inferior)
+ (post_attach): Move...
+ * obsd-nat.h (follow_fork, insert_fork_catchpoint)
+ (remove_fork_catchpoint, post_startup_inferior)
+ (post_attach): ...here.
+ * inf-ptrace.c (follow_fork, insert_fork_catchpoint)
+ (remove_fork_catchpoint, post_startup_inferior)
+ (post_attach): Move...
+ * obsd-nat.c (follow_fork, insert_fork_catchpoint)
+ (remove_fork_catchpoint, post_startup_inferior)
+ (post_attach): ...here.
+
+2020-04-24 Tom Tromey <tromey@adacore.com>
+
+ * nat/windows-nat.h (struct windows_thread_info)
+ <pc_adjusted>: New member.
+ * windows-nat.c (windows_fetch_one_register): Check
+ pc_adjusted.
+ (windows_nat_target::get_windows_debug_event)
+ (windows_nat_target::wait): Set pc_adjusted.
+
2020-04-24 Tom de Vries <tdevries@suse.de>
* contrib/cc-with-tweaks.sh: Remove <exec>.gdb-index file handling.