+2019-11-22 Tom Tromey <tom@tromey.com>
+
+ * observable.h: Update comments.
+
+2019-11-22 Tom Tromey <tromey@adacore.com>
+
+ * ada-tasks.c (ada_task_is_alive): Make parameter const.
+ (print_ada_task_info): Don't try to fetch thread id if task is not
+ alive.
+
+2019-11-22 Christian Biesinger <cbiesinger@google.com>
+
+ * ada-exp.y: Update.
+ * ada-lang.c (sort_choices): Update.
+ (ada_print_symbol_signature): Update.
+ (resolve_subexp): Update.
+ (ada_parse_renaming): Update.
+ (ada_read_renaming_var_value): Update.
+ (lesseq_defined_than): Update.
+ (remove_extra_symbols): Update.
+ (remove_irrelevant_renamings): Update.
+ (ada_add_block_symbols): Update.
+ (ada_collect_symbol_completion_matches): Update.
+ (ada_is_renaming_symbol): Update.
+ (aggregate_assign_from_choices): Update.
+ (ada_evaluate_subexp): Update.
+ (ada_has_this_exception_support): Update.
+ (ada_is_non_standard_exception_sym): Update.
+ (ada_add_exceptions_from_frame): Update.
+ (ada_add_global_exceptions): Update.
+ (ada_print_subexp): Update.
+ * ax-gdb.c (gen_var_ref): Update.
+ (gen_maybe_namespace_elt): Update.
+ (gen_expr_for_cast): Update.
+ (gen_expr): Update.
+ * block.h: Update.
+ * blockframe.c (find_pc_partial_function): Update.
+ * breakpoint.c (print_breakpoint_location): Update.
+ (update_static_tracepoint): Update.
+ * btrace.c (ftrace_print_function_name): Update.
+ (ftrace_function_switched): Update.
+ * buildsym.c (find_symbol_in_list): Update.
+ * c-exp.y: Update.
+ * c-typeprint.c (c_print_typedef): Update.
+ (c_type_print_template_args): Update.
+ * cli/cli-cmds.c (edit_command): Update.
+ (list_command): Update.
+ (print_sal_location): Update.
+ * coffread.c (patch_opaque_types): Update.
+ (process_coff_symbol): Update.
+ (coff_read_enum_type): Update.
+ * compile/compile-c-symbols.c (c_symbol_substitution_name): Update.
+ (convert_one_symbol): Update.
+ (hash_symname): Update.
+ (eq_symname): Update.
+ * compile/compile-cplus-symbols.c (convert_one_symbol): Update.
+ * compile/compile-cplus-types.c (debug_print_scope): Update.
+ * compile/compile-loc2c.c (do_compile_dwarf_expr_to_c): Update.
+ * compile/compile-object-load.c (get_out_value_type): Update.
+ * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
+ (search_symbol_list): Update.
+ (cp_lookup_symbol_imports_or_template): Update.
+ * cp-support.c (overload_list_add_symbol): Update.
+ * ctfread.c (psymtab_to_symtab): Update.
+ * dbxread.c (cp_set_block_scope): Update.
+ * dictionary.c (iter_match_first_hashed): Update.
+ (iter_match_next_hashed): Update.
+ (insert_symbol_hashed): Update.
+ (iter_match_next_linear): Update.
+ * dictionary.h: Update.
+ * dwarf2loc.c (func_get_frame_base_dwarf_block): Update.
+ (locexpr_describe_location_piece): Update.
+ (locexpr_describe_location_1): Update.
+ (locexpr_generate_c_location): Update.
+ (loclist_describe_location): Update.
+ (loclist_generate_c_location): Update.
+ * dwarf2read.c (dw2_debug_names_lookup_symbol): Update.
+ (read_func_scope): Update.
+ (process_enumeration_scope): Update.
+ (new_symbol): Update.
+ (dwarf2_const_value): Update.
+ (dwarf2_symbol_mark_computed): Update.
+ * eval.c (evaluate_funcall): Update.
+ (evaluate_subexp_standard): Update.
+ * expprint.c (print_subexp_standard): Update.
+ (dump_subexp_body_standard): Update.
+ * f-valprint.c (info_common_command_for_block): Update.
+ * findvar.c (get_hosting_frame): Update.
+ (default_read_var_value): Update.
+ * go-lang.c (go_symbol_package_name): Update.
+ * guile/scm-block.c (bkscm_print_block_smob): Update.
+ * guile/scm-symbol.c (syscm_print_symbol_smob): Update.
+ (gdbscm_symbol_name): Update.
+ (gdbscm_symbol_linkage_name): Update.
+ (gdbscm_symbol_print_name): Update.
+ * infcall.c (get_function_name): Update.
+ * infcmd.c (jump_command): Update.
+ (finish_command): Update.
+ * infrun.c (insert_exception_resume_breakpoint): Update.
+ * linespec.c (canonicalize_linespec): Update.
+ (create_sals_line_offset): Update.
+ (convert_linespec_to_sals): Update.
+ (complete_label): Update.
+ (find_label_symbols_in_block): Update.
+ * m2-typeprint.c (m2_print_typedef): Update.
+ * mdebugread.c (mdebug_reg_to_regnum): Update.
+ (parse_symbol): Update.
+ (mylookup_symbol): Update.
+ * mi/mi-cmd-stack.c (list_arg_or_local): Update.
+ (list_args_or_locals): Update.
+ * objc-lang.c (compare_selectors): Update.
+ (info_selectors_command): Update.
+ (compare_classes): Update.
+ (info_classes_command): Update.
+ (find_imps): Update.
+ * p-typeprint.c (pascal_print_typedef): Update.
+ * printcmd.c (build_address_symbolic): Update.
+ (info_address_command): Update.
+ (print_variable_and_value): Update.
+ * python/py-framefilter.c (extract_sym): Update.
+ (py_print_single_arg): Update.
+ * python/py-symbol.c (sympy_str): Update.
+ (sympy_get_name): Update.
+ (sympy_get_linkage_name): Update.
+ * python/python.c (gdbpy_rbreak): Update.
+ * record-btrace.c (btrace_get_bfun_name): Update.
+ (btrace_call_history): Update.
+ * rust-lang.c (rust_print_typedef): Update.
+ * solib-frv.c (frv_fdpic_find_canonical_descriptor): Update.
+ * stabsread.c (stab_reg_to_regnum): Update.
+ (define_symbol): Update.
+ (read_enum_type): Update.
+ (common_block_end): Update.
+ (cleanup_undefined_types_1): Update.
+ (scan_file_globals): Update.
+ * stack.c (print_frame_arg): Update.
+ (print_frame_args): Update.
+ (find_frame_funname): Update.
+ (info_frame_command_core): Update.
+ (iterate_over_block_locals): Update.
+ (print_block_frame_labels): Update.
+ (do_print_variable_and_value): Update.
+ (iterate_over_block_arg_vars): Update.
+ (return_command): Update.
+ * symmisc.c (dump_symtab_1): Update.
+ (print_symbol): Update.
+ * symtab.c (eq_symbol_entry): Update.
+ (symbol_cache_dump): Update.
+ (lookup_language_this): Update.
+ (find_pc_sect_line): Update.
+ (skip_prologue_sal): Update.
+ (symbol_search::compare_search_syms): Update.
+ (treg_matches_sym_type_name): Update.
+ (search_symbols): Update.
+ (print_symbol_info): Update.
+ (rbreak_command): Update.
+ (completion_list_add_symbol): Update.
+ (find_gnu_ifunc): Update.
+ (get_symbol_address): Update.
+ (search_module_symbols): Update.
+ (info_module_subcommand): Update.
+ * symtab.h (SYMBOL_NATURAL_NAME): Remove.
+ (SYMBOL_LINKAGE_NAME): Remove.
+ (SYMBOL_DEMANGLED_NAME): Remove.
+ (SYMBOL_PRINT_NAME): Remove.
+ (SYMBOL_SEARCH_NAME): Remove.
+ * tracepoint.c (set_traceframe_context): Update.
+ (validate_actionline): Update.
+ (collection_list::collect_symbol): Update.
+ (encode_actions_1): Update.
+ (info_scope_command): Update.
+ (print_one_static_tracepoint_marker): Update.
+ * typeprint.c (typedef_hash_table::add_template_parameters): Update.
+ * valops.c (address_of_variable): Update.
+ (find_overload_match): Update.
+ (find_oload_champ): Update.
+
+2019-11-22 Christian Biesinger <cbiesinger@google.com>
+
+ * ada-lang.c (ada_lookup_simple_minsym): Update.
+ (ada_collect_symbol_completion_matches): Update.
+ * ada-tasks.c (read_atcb): Update.
+ * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
+ (amd64_windows_skip_trampoline_code): Update.
+ * arm-tdep.c (skip_prologue_function): Update.
+ (arm_skip_stack_protector): Update.
+ * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
+ (arm_wince_skip_main_prologue): Update.
+ * ax-gdb.c (gen_expr): Update.
+ * block.c (call_site_for_pc): Update.
+ * blockframe.c (find_pc_partial_function): Update.
+ * breakpoint.c (set_breakpoint_location_function): Update.
+ * btrace.c (ftrace_print_function_name): Update.
+ (ftrace_function_switched): Update.
+ * c-valprint.c (print_unpacked_pointer): Update.
+ * coffread.c (coff_symfile_read): Update.
+ * compile/compile-c-symbols.c (convert_symbol_bmsym): Update.
+ * compile/compile-cplus-symbols.c (convert_symbol_bmsym): Update.
+ * dwarf-index-write.c (write_psymbols): Update.
+ * dwarf2loc.c (call_site_to_target_addr): Update.
+ (func_verify_no_selftailcall): Update.
+ (tailcall_dump): Update.
+ (call_site_find_chain_1): Update.
+ (dwarf_expr_reg_to_entry_parameter): Update.
+ * elfread.c (elf_gnu_ifunc_record_cache): Update.
+ * eval.c (evaluate_funcall): Update.
+ (evaluate_subexp_standard): Update.
+ (evaluate_subexp_for_sizeof): Update.
+ * expprint.c (print_subexp_standard): Update.
+ (dump_subexp_body_standard): Update.
+ * frame.c (get_prev_frame_always_1): Update.
+ * frv-tdep.c (frv_skip_main_prologue): Update.
+ * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
+ * gnu-v3-abi.c (gnuv3_rtti_type): Update.
+ (gnuv3_get_typename_from_type_info): Update.
+ (gnuv3_skip_trampoline): Update.
+ * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Update.
+ * i386-tdep.c (i386_skip_main_prologue): Update.
+ (i386_pe_skip_trampoline_code): Update.
+ * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
+ * infcall.c (get_function_name): Update.
+ * linespec.c (minsym_found): Update.
+ * linux-fork.c (info_checkpoints_command): Update.
+ * m32c-tdep.c (m32c_m16c_address_to_pointer): Update.
+ (m32c_m16c_pointer_to_address): Update.
+ * maint.c (maintenance_translate_address): Update.
+ * minsyms.c (add_minsym_to_hash_table): Update.
+ (add_minsym_to_demangled_hash_table): Update.
+ (lookup_minimal_symbol_mangled): Update.
+ (lookup_minimal_symbol_demangled): Update.
+ (lookup_minimal_symbol_linkage): Update.
+ (lookup_minimal_symbol_text): Update.
+ (lookup_minimal_symbol_by_pc_name): Update.
+ (minimal_symbol_is_less_than): Update.
+ (compact_minimal_symbols): Update.
+ (build_minimal_symbol_hash_tables): Update.
+ (find_solib_trampoline_target): Update.
+ * mips-tdep.c (mips_stub_frame_sniffer): Update.
+ (mips_skip_pic_trampoline_code): Update.
+ * msp430-tdep.c (msp430_skip_trampoline_code): Update.
+ * objc-lang.c (info_selectors_command): Update.
+ (info_classes_command): Update.
+ (find_methods): Update.
+ (find_imps): Update.
+ * p-valprint.c (pascal_val_print): Update.
+ * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code): Update.
+ * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
+ * printcmd.c (build_address_symbolic): Update.
+ (info_symbol_command): Update.
+ * psymtab.c (psymbol_name_matches): Update.
+ (match_partial_symbol): Update.
+ (lookup_partial_symbol): Update.
+ (print_partial_symbols): Update.
+ (sort_pst_symbols): Update.
+ (maintenance_check_psymtabs): Update.
+ * python/py-framefilter.c (py_print_frame): Update.
+ * python/python.c (gdbpy_rbreak): Update.
+ * record-btrace.c (btrace_get_bfun_name): Update.
+ (btrace_call_history): Update.
+ * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
+ (rs6000_skip_trampoline_code): Update.
+ * sol-thread.c (info_cb): Update.
+ * stabsread.c (scan_file_globals): Update.
+ * stack.c (find_frame_funname): Update.
+ (info_frame_command_core): Update.
+ * symmisc.c (dump_msymbols): Update.
+ * symtab.c (symbol_natural_name): Rename to..,
+ (general_symbol_info::natural_name): ...this.
+ (symbol_demangled_name): Rename to...
+ (general_symbol_info::demangled_name): ...this.
+ (symbol_search_name): Rename to...
+ (general_symbol_info::search_name): ...this.
+ (symbol_matches_search_name): Update.
+ (find_pc_sect_line): Update.
+ (skip_prologue_sal): Update.
+ (search_symbols): Update.
+ (print_msymbol_info): Update.
+ (rbreak_command): Update.
+ (completion_list_add_msymbol): Update.
+ (completion_list_objc_symbol): Update.
+ (get_msymbol_address): Update.
+ * symtab.h (struct general_symbol_info): Add member functions
+ natural_name (), linkage_name (), print_name (), demangled_name (),
+ and search_name ().
+ (SYMBOL_NATURAL_NAME): Update.
+ (symbol_natural_name): Move to a member function on general_symbol_info.
+ (SYMBOL_DEMANGLED_NAME): Update.
+ (symbol_demangled_name): Move to a member function on
+ general_symbol_info.
+ (SYMBOL_SEARCH_NAME): Update.
+ (symbol_search_name): Move to a member function on general_symbol_info.
+ (MSYMBOL_NATURAL_NAME): Remove.
+ (MSYMBOL_LINKAGE_NAME): Remove.
+ (MSYMBOL_PRINT_NAME): Remove.
+ (MSYMBOL_DEMANGLED_NAME): Remove.
+ (MSYMBOL_SEARCH_NAME): Remove.
+ * x86-tdep.c (x86_in_indirect_branch_thunk): Update.
+
+2019-11-22 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.c (create_demangled_names_hash): Use per_bfd->
+ minimal_symbol_count for computing the initial size, if greater
+ than our default size.
+
+2019-11-22 Tom de Vries <tdevries@suse.de>
+
+ * contrib/words.sh: Improve words extraction.
+
+2019-11-22 Tom de Vries <tdevries@suse.de>
+
+ * contrib/words.sh: Combine sed invocations.
+
+2019-11-21 Christian Biesinger <cbiesinger@google.com>
+
+ * Makefile.in: Update.
+ * demangle.c: Rename to...
+ * gdb-demangle.c: ..this.
+ (is_cplus_marker): Change return type to bool.
+ (_initialize_demangler): Rename to...
+ (_initialize_gdb_demangle): ...this.
+ * gdb-demangle.h (is_cplus_marker): Change return type to bool.
+ * symtab.h (demangle): Remove declaration; instead include
+ gdb-demangle.h.
+
+2019-11-21 Tom Tromey <tromey@adacore.com>
+
+ * gdbsupport/format.c (format_pieces): Parse %I64d.
+ * unittests/format_pieces-selftests.c (test_windows_formats): New
+ function.
+ (run_tests): Call it.
+
+2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
+
+ Byte reverse display of variables with DW_END_big, DW_END_little
+ (DW_AT_endianity) dwarf attributes if different than the native
+ byte order.
+ * ada-lang.c (ada_value_binop):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * ada-valprint.c (printstr):
+ (ada_val_print_string):
+ * ada-lang.c (value_pointer):
+ (ada_value_binop):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * c-lang.c (c_get_string):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * c-valprint.c (c_val_print_array):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * cp-valprint.c (cp_print_class_member):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * dwarf2loc.c (rw_pieced_value):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * dwarf2read.c (read_base_type): Handle DW_END_big,
+ DW_END_little
+ * f-lang.c (f_get_encoding):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * findvar.c (default_read_var_value):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * gdbtypes.c (check_types_equal):
+ Require matching TYPE_ENDIANITY_NOT_DEFAULT if set.
+ (recursive_dump_type): Print TYPE_ENDIANITY_BIG,
+ and TYPE_ENDIANITY_LITTLE if set.
+ (type_byte_order): new function.
+ * gdbtypes.h (TYPE_ENDIANITY_NOT_DEFAULT): New macro.
+ (struct main_type) <flag_endianity_not_default>:
+ New field.
+ (type_byte_order): New function.
+ * infcmd.c (default_print_one_register_info):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * p-lang.c (pascal_printstr):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * p-valprint.c (pascal_val_print):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * printcmd.c (print_scalar_formatted):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * solib-darwin.c (darwin_current_sos):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * solib-svr4.c (solib_svr4_r_ldsomap):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * stap-probe.c (stap_modify_semaphore):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * target-float.c (target_float_same_format_p):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * valarith.c (scalar_binop):
+ (value_bit_index):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * valops.c (value_cast):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * valprint.c (generic_emit_char):
+ (generic_printstr):
+ (val_print_string):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * value.c (unpack_long):
+ (unpack_bits_as_long):
+ (unpack_value_bitfield):
+ (modify_field):
+ (pack_long):
+ (pack_unsigned_long):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * findvar.c (unsigned_pointer_to_address):
+ (signed_pointer_to_address):
+ (unsigned_address_to_pointer):
+ (address_to_signed_pointer):
+ (default_read_var_value):
+ (default_value_from_register):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * gnu-v3-abi.c (gnuv3_make_method_ptr):
+ Use type_byte_order instead of gdbarch_byte_order.
+ * riscv-tdep.c (riscv_print_one_register_info):
+ Use type_byte_order instead of gdbarch_byte_order.
+
+2019-11-21 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * top.c (current_ui_gdb_stdout_ptr): Spell out by hand.
+ (current_ui_gdb_stdin_ptr): Likewise.
+ (current_ui_gdb_stderr_ptr): Likewise.
+ (current_ui_gdb_stdlog_ptr): Likewise.
+ (current_ui_current_uiout_ptr): Likewise.
+ (gen_ret_current_ui_field_ptr): Remove.
+
+2019-11-21 Tom de Vries <tdevries@suse.de>
+
+ PR gdb/24956
+ * cli/cli-script.c (execute_control_command): Only switch to
+ INTERP_CONSOLE's ui_out when INTERP_MI is active.
+
+2019-11-19 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-win.c (tui_partial_win_by_name): Move from tui-data.c.
+ Now static. Change type of "name".
+ (tui_set_win_height_command): Don't copy "arg".
+ * tui/tui-data.h (tui_partial_win_by_name): Don't declare.
+ * tui/tui-data.c (tui_partial_win_by_name): Move to tui-win.c.
+
+2019-11-19 Ali Tamur <tamur@google.com>
+
+ * dwarf2read.c (dw2_get_file_names_reader): Replace "if (attr)" with
+ "if (attr != nullptr)".
+ (dwarf2_find_base_address): Likewise.
+ (dwarf2_build_include_psymtabs): Likewise.
+ (read_cutu_die_from_dwo): Likewise.
+ (read_func_scope): Likewise.
+ (read_call_site_scope): Likewise.
+ (dwarf2_get_pc_bounds): Likewise.
+ (dwarf2_record_block_ranges): Likewise.
+ (dwarf2_add_field): Likewise.
+ (dwarf2_add_member_fn): Likewise.
+ (read_structure_type): Likewise.
+ (read_enumeration_type): Likewise.
+ (read_array_type): Likewise.
+ (read_array_order): Likewise.
+ (read_set_type): Likewise.
+ (read_common_block): Likewise.
+ (read_tag_reference_type): Likewise.
+ (read_tag_string_type): Likewise.
+ (read_subroutine_type): Likewise.
+ (read_base_type): Likewise.
+ (read_subrange_type): Likewise.
+ (new_symbol): Likewise.
+ (prepare_one_comp_unit): Likewise.
+
+2019-11-19 Tom Tromey <tromey@adacore.com>
+
+ * windows-nat.c (windows_nat_target::attach): Include GetLastError
+ result in error when DebugActiveProcess fails.
+
+2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ https://bugzilla.redhat.com/show_bug.cgi?id=1765117
+ * target.c (target_stack::push): Call 'unpush' if there's a
+ target on top of the stack.
+
+2019-11-18 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * python/py-block.c (blpy_dealloc): Call tp_free.
+ (blpy_block_syms_dealloc): Likewise.
+ * python/py-finishbreakpoint.c (bpfinishpy_dealloc): Likewise.
+ * python/py-inferior.c (infpy_dealloc): Likewise.
+ * python/py-lazy-string.c (stpy_dealloc): Likewise.
+ * python/py-linetable.c (ltpy_iterator_dealloc): Likewise.
+ * python/py-symbol.c (sympy_dealloc): Likewise.
+ * python/py-symtab.c (stpy_dealloc): Likewise.
+ * python/py-type.c (typy_iterator_dealloc): Likewise.
+
+2019-11-18 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.h (struct symbol) <owner>: Initialize explicitly in the
+ constructor instead of using a class initializer.
+
+2019-11-15 Christian Biesinger <cbiesinger@google.com>
+
+ * Makefile.in: Replace {posix,mingw}-strerror.c with safe-strerror.c.
+ * configure: Regenerate.
+ * configure.ac: Don't source common.host.
+ * gdbsupport/common.host: Remove.
+ * gdbsupport/mingw-strerror.c: Remove.
+ * gdbsupport/posix-strerror.c: Rename to...
+ * gdbsupport/safe-strerror.c: ...this.
+
2019-11-15 Christian Biesinger <cbiesinger@google.com>
* maint.c (scoped_command_stats::print_time): Use localtime_r