+2019-09-20 Alan Modra <amodra@gmail.com>
+
+ * gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Use bfd_set_usrdata.
+ * dwarf2read.c (dwarf2_read_gdb_index, dwarf2_read_debug_names),
+ (read_indirect_string_from_dwz): Use bfd accessor.
+ * dwarf2read.h (struct dwz_file <filename>): Likewise.
+ * machoread.c (macho_symfile_read_all_oso): Likewise.
+ * solib.c (solib_bfd_open): Likewise.
+
+2019-09-19 Christian Biesinger <cbiesinger@google.com>
+
+ * eval.c: Move declaration of overload_resolution to...
+ * value.h: ...here.
+
+2019-09-19 Christian Biesinger <cbiesinger@google.com>
+
+ * arm-linux-nat.c: Remove extern declaration for arm_apcs_32.
+ * arm-linux-tdep.c: Likewise.
+ * arm-nbsd-nat.c: Likewise.
+ * arm-tdep.h: Declare arm_apcs_32.
+ * arm-tdep.c: Move documentation for arm_apcs_32 to arm-tdep.h.
+
+2019-09-19 Christian Biesinger <cbiesinger@google.com>
+
+ * dwarf2loc.c: Remove extern declaration of dwarf_always_disassemble.
+ * dwarf2read.h: Declare dwarf_always_disassemble.
+
+2019-09-19 Tom de Vries <tdevries@suse.de>
+
+ PR gdb/25009
+ * source-cache.c (source_cache::ensure): Catch exception thrown during
+ construction of the highlighter.
+
+2019-09-18 Alan Modra <amodra@gmail.com>
+
+ * aarch64-linux-tdep.c, * arm-tdep.c, * auto-load.c,
+ * coff-pe-read.c, * coffread.c, * corelow.c, * dbxread.c,
+ * dicos-tdep.c, * dwarf2-frame.c, * dwarf2read.c, * elfread.c,
+ * exec.c, * fbsd-tdep.c, * gcore.c, * gdb_bfd.c, * gdb_bfd.h,
+ * hppa-tdep.c, * i386-cygwin-tdep.c, * i386-fbsd-tdep.c,
+ * i386-linux-tdep.c, * jit.c, * linux-tdep.c, * machoread.c,
+ * maint.c, * mdebugread.c, * minidebug.c, * mips-linux-tdep.c,
+ * mips-sde-tdep.c, * mips-tdep.c, * mipsread.c, * nto-tdep.c,
+ * objfiles.c, * objfiles.h, * osabi.c, * ppc-linux-tdep.c,
+ * ppc64-tdep.c, * record-btrace.c, * record-full.c, * remote.c,
+ * rs6000-aix-tdep.c, * rs6000-tdep.c, * s390-linux-tdep.c,
+ * s390-tdep.c, * solib-aix.c, * solib-dsbt.c, * solib-frv.c,
+ * solib-spu.c, * solib-svr4.c, * solib-target.c,
+ * spu-linux-nat.c, * spu-tdep.c, * symfile-mem.c, * symfile.c,
+ * symmisc.c, * symtab.c, * target.c, * windows-nat.c,
+ * xcoffread.c, * cli/cli-dump.c, * compile/compile-object-load.c,
+ * mi/mi-interp.c: Update throughout for bfd section macro and
+ function changes.
+ * gcore (gcore_create_callback): Use bfd_set_section_lma.
+ * spu-tdep.c (spu_overlay_new_objfile): Likewise.
+
+2019-09-18 Tom Tromey <tom@tromey.com>
+
+ * NEWS: Add entry.
+ * tui/tui.c (tui_initialize_readline): Set name of keymap. Do not
+ call rl_initialize.
+ (tui_enable): Do not call rl_initialize.
+
+2019-09-18 Christian Groessler <chris@groessler.org>
+
+ * alpha-linux-nat.c: Include gdbarch.h.
+
+2019-09-18 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * ui-file.c: Include cli/cli-style.h.
+ (term_cli_styling): Remove cli_styling declaration.
+
+2019-09-18 Alan Modra <amodra@gmail.com>
+
+ * arm-tdep.c (arm_record_special_symbol): Update bfd_get_section
+ to bfd_asymbol_section.
+
+2019-09-18 Alan Modra <amodra@gmail.com>
+
+ * amd64-dicos-tdep.c (amd64_dicos_osabi_sniffer): Constify target.
+ * i386-cygwin-tdep.c (i386_cygwin_init_abi): Likewise.
+ * i386-dicos-tdep.c (i386_dicos_osabi_sniffer): Likewise.
+
+2019-09-18 Alan Modra <amodra@gmail.com>
+
+ * solib-spu.c (spu_bfd_open): Use bfd_set_filename.
+ * spu-linux-nat.c (spu_bfd_open): Likewise.
+
+2019-09-18 Christian Biesinger <cbiesinger@google.com>
+
+ * dwarf2loc.c: Change extern declaration of dwarf_always_disassemble
+ to bool to match definition in dwarf2read.c.
+
+2019-09-17 Christian Biesinger <cbiesinger@google.com>
+
+ * ada-lang.c (ada_ignore_descriptive_types_p): Change to bool.
+ (print_signatures): Likewise.
+ (trust_pad_over_xvs): Likewise.
+ * arch/aarch64-insn.c (aarch64_debug): Likewise.
+ * arch/aarch64-insn.h (aarch64_debug): Likewise.
+ * arm-linux-nat.c (arm_apcs_32): Likewise.
+ * arm-linux-tdep.c (arm_apcs_32): Likewise.
+ * arm-nbsd-nat.c (arm_apcs_32): Likewise.
+ * arm-tdep.c (arm_debug): Likewise.
+ (arm_apcs_32): Likewise.
+ * auto-load.c (debug_auto_load): Likewise.
+ (auto_load_gdb_scripts): Likewise.
+ (global_auto_load): Likewise.
+ (auto_load_local_gdbinit): Likewise.
+ (auto_load_local_gdbinit_loaded): Likewise.
+ * auto-load.h (global_auto_load): Likewise.
+ (auto_load_local_gdbinit): Likewise.
+ (auto_load_local_gdbinit_loaded): Likewise.
+ * breakpoint.c (disconnected_dprintf): Likewise.
+ (breakpoint_proceeded): Likewise.
+ (automatic_hardware_breakpoints): Likewise.
+ (always_inserted_mode): Likewise.
+ (target_exact_watchpoints): Likewise.
+ (_initialize_breakpoint): Update.
+ * breakpoint.h (target_exact_watchpoints): Change to bool.
+ * btrace.c (maint_btrace_pt_skip_pad): Likewise.
+ * cli/cli-cmds.c (trace_commands): Likewise.
+ * cli/cli-cmds.h (trace_commands): Likewise.
+ * cli/cli-decode.c (add_setshow_boolean_cmd): Change int* argument
+ to bool*.
+ * cli/cli-logging.c (logging_overwrite): Change to bool.
+ (logging_redirect): Likewise.
+ (debug_redirect): Likewise.
+ * cli/cli-option.h (option_def) <boolean>: Change return type to bool*.
+ (struct boolean_option_def) <get_var_address_cb_>: Change return type
+ to bool.
+ <boolean_option_def>: Update.
+ (struct flag_option_def): Change default type of Context to bool
+ from int.
+ <flag_option_def>: Change return type of var_address_cb_ to bool*.
+ * cli/cli-setshow.c (do_set_command): Cast to bool* instead of int*.
+ (get_setshow_command_value_string): Likewise.
+ * cli/cli-style.c (cli_styling): Change to bool.
+ (source_styling): Likewise.
+ * cli/cli-style.h (source_styling): Likewise.
+ (cli_styling): Likewise.
+ * cli/cli-utils.h (struct qcs_flags) <quiet, cont, silent>: Change
+ to bool.
+ * command.h (var_types): Update comment.
+ (add_setshow_boolean_cmd): Change int* var argument to bool*.
+ * compile/compile-cplus-types.c (debug_compile_cplus_types): Change to
+ bool.
+ (debug_compile_cplus_scopes): Likewise.
+ * compile/compile-internal.h (compile_debug): Likewise.
+ * compile/compile.c (compile_debug): Likewise.
+ (struct compile_options) <raw>: Likewise.
+ * cp-support.c (catch_demangler_crashes): Likewise.
+ * cris-tdep.c (usr_cmd_cris_version_valid): Likewise.
+ (usr_cmd_cris_dwarf2_cfi): Likewise.
+ * csky-tdep.c (csky_debug): Likewise.
+ * darwin-nat.c (enable_mach_exceptions): Likewise.
+ * dcache.c (dcache_enabled_p): Likewise.
+ * defs.h (info_verbose): Likewise.
+ * demangle.c (demangle): Likewise.
+ (asm_demangle): Likewise.
+ * dwarf-index-cache.c (debug_index_cache): Likewise.
+ * dwarf2-frame.c (dwarf2_frame_unwinders_enabled_p): Likewise.
+ * dwarf2-frame.h (dwarf2_frame_unwinders_enabled_p): Likewise.
+ * dwarf2read.c (check_physname): Likewise.
+ (use_deprecated_index_sections): Likewise.
+ (dwarf_always_disassemble): Likewise.
+ * eval.c (overload_resolution): Likewise.
+ * event-top.c (set_editing_cmd_var): Likewise.
+ (exec_done_display_p): Likewise.
+ * event-top.h (set_editing_cmd_var): Likewise.
+ (exec_done_display_p): Likewise.
+ * exec.c (write_files): Likewise.
+ * fbsd-nat.c (debug_fbsd_lwp): Likewise
+ (debug_fbsd_nat): Likewise.
+ * frame.h (struct frame_print_options) <print_raw_frame_arguments>:
+ Likewise.
+ (struct set_backtrace_options) <backtrace_past_main>: Likewise.
+ <backtrace_past_entry> Likewise.
+ * gdb-demangle.h (demangle): Likewise.
+ (asm_demangle): Likewise.
+ * gdb_bfd.c (bfd_sharing): Likewise.
+ * gdbcore.h (write_files): Likewise.
+ * gdbsupport/common-debug.c (show_debug_regs): Likewise.
+ * gdbsupport/common-debug.h (show_debug_regs): Likewise.
+ * gdbthread.h (print_thread_events): Likewise.
+ * gdbtypes.c (opaque_type_resolution): Likewise.
+ (strict_type_checking): Likewise.
+ * gnu-nat.c (gnu_debug_flag): Likewise.
+ * guile/scm-auto-load.c (auto_load_guile_scripts): Likewise.
+ * guile/scm-param.c (pascm_variable): Add boolval.
+ (add_setshow_generic): Update.
+ (pascm_param_value): Update.
+ (pascm_set_param_value_x): Update.
+ * hppa-tdep.c (hppa_debug): Change to bool..
+ * infcall.c (may_call_functions_p): Likewise.
+ (coerce_float_to_double_p): Likewise.
+ (unwind_on_signal_p): Likewise.
+ (unwind_on_terminating_exception_p): Likewise.
+ * infcmd.c (startup_with_shell): Likewise.
+ * inferior.c (print_inferior_events): Likewise.
+ * inferior.h (startup_with_shell): Likewise.
+ (print_inferior_events): Likewise.
+ * infrun.c (step_stop_if_no_debug): Likewise.
+ (detach_fork): Likewise.
+ (debug_displaced): Likewise.
+ (disable_randomization): Likewise.
+ (non_stop): Likewise.
+ (non_stop_1): Likewise.
+ (observer_mode): Likewise.
+ (observer_mode_1): Likewise.
+ (set_observer_mode): Update.
+ (sched_multi): Change to bool.
+ * infrun.h (debug_displaced): Likewise.
+ (sched_multi): Likewise.
+ (step_stop_if_no_debug): Likewise.
+ (non_stop): Likewise.
+ (disable_randomization): Likewise.
+ * linux-tdep.c (use_coredump_filter): Likewise.
+ (dump_excluded_mappings): Likewise.
+ * linux-thread-db.c (auto_load_thread_db): Likewise.
+ (check_thread_db_on_load): Likewise.
+ * main.c (captured_main_1): Update.
+ * maint-test-options.c (struct test_options_opts) <flag_opt, xx1_opt,
+ xx2_opt, boolean_opt>: Change to bool.
+ * maint-test-settings.c (maintenance_test_settings_boolean): Likewise.
+ * maint.c (maintenance_profile_p): Likewise.
+ (per_command_time): Likewise.
+ (per_command_space): Likewise.
+ (per_command_symtab): Likewise.
+ * memattr.c (inaccessible_by_default): Likewise.
+ * mi/mi-main.c (mi_async): Likewise.
+ (mi_async_1): Likewise.
+ * mips-tdep.c (mips64_transfers_32bit_regs_p): Likewise.
+ * nat/fork-inferior.h (startup_with_shell): Likewise.
+ * nat/linux-namespaces.c (debug_linux_namespaces): Likewise.
+ * nat/linux-namespaces.h (debug_linux_namespaces): Likewise.
+ * nios2-tdep.c (nios2_debug): Likewise.
+ * or1k-tdep.c (or1k_debug): Likewise.
+ * parse.c (parser_debug): Likewise.
+ * parser-defs.h (parser_debug): Likewise.
+ * printcmd.c (print_symbol_filename): Likewise.
+ * proc-api.c (procfs_trace): Likewise.
+ * python/py-auto-load.c (auto_load_python_scripts): Likewise.
+ * python/py-param.c (union parmpy_variable): Add "bool boolval" field.
+ (set_parameter_value): Update.
+ (add_setshow_generic): Update.
+ * python/py-value.c (copy_py_bool_obj): Change argument from int*
+ to bool*.
+ * python/python.c (gdbpy_parameter_value): Cast to bool* instead of
+ int*.
+ * ravenscar-thread.c (ravenscar_task_support): Change to bool.
+ * record-btrace.c (record_btrace_target::store_registers): Update.
+ * record-full.c (record_full_memory_query): Change to bool.
+ (record_full_stop_at_limit): Likewise.
+ * record-full.h (record_full_memory_query): Likewise.
+ * remote-notif.c (notif_debug): Likewise.
+ * remote-notif.h (notif_debug): Likewise.
+ * remote.c (use_range_stepping): Likewise.
+ (interrupt_on_connect): Likewise.
+ (remote_break): Likewise.
+ * ser-tcp.c (tcp_auto_retry): Likewise.
+ * ser-unix.c (serial_hwflow): Likewise.
+ * skip.c (debug_skip): Likewise.
+ * solib-aix.c (solib_aix_debug): Likewise.
+ * spu-tdep.c (spu_stop_on_load_p): Likewise.
+ (spu_auto_flush_cache_p): Likewise.
+ * stack.c (struct backtrace_cmd_options) <full, no_filters, hide>:
+ Likewise.
+ (struct info_print_options) <quiet>: Likewise.
+ * symfile-debug.c (debug_symfile): Likewise.
+ * symfile.c (auto_solib_add): Likewise.
+ (separate_debug_file_debug): Likewise.
+ * symfile.h (auto_solib_add): Likewise.
+ (separate_debug_file_debug): Likewise.
+ * symtab.c (basenames_may_differ): Likewise.
+ (struct filename_partial_match_opts) <dirname, basename>: Likewise.
+ (struct info_print_options) <quiet, exclude_minsyms>: Likewise.
+ (struct info_types_options) <quiet>: Likewise.
+ * symtab.h (demangle): Likewise.
+ (basenames_may_differ): Likewise.
+ * target-dcache.c (stack_cache_enabled_1): Likewise.
+ (code_cache_enabled_1): Likewise.
+ * target.c (trust_readonly): Likewise.
+ (may_write_registers): Likewise.
+ (may_write_memory): Likewise.
+ (may_insert_breakpoints): Likewise.
+ (may_insert_tracepoints): Likewise.
+ (may_insert_fast_tracepoints): Likewise.
+ (may_stop): Likewise.
+ (auto_connect_native_target): Likewise.
+ (target_stop_and_wait): Update.
+ (target_async_permitted): Change to bool.
+ (target_async_permitted_1): Likewise.
+ (may_write_registers_1): Likewise.
+ (may_write_memory_1): Likewise.
+ (may_insert_breakpoints_1): Likewise.
+ (may_insert_tracepoints_1): Likewise.
+ (may_insert_fast_tracepoints_1): Likewise.
+ (may_stop_1): Likewise.
+ * target.h (target_async_permitted): Likewise.
+ (may_write_registers): Likewise.
+ (may_write_memory): Likewise.
+ (may_insert_breakpoints): Likewise.
+ (may_insert_tracepoints): Likewise.
+ (may_insert_fast_tracepoints): Likewise.
+ (may_stop): Likewise.
+ * thread.c (struct info_threads_opts) <show_global_ids>: Likewise.
+ (make_thread_apply_all_options_def_group): Change argument from int*
+ to bool*.
+ (thread_apply_all_command): Update.
+ (print_thread_events): Change to bool.
+ * top.c (confirm): Likewise.
+ (command_editing_p): Likewise.
+ (history_expansion_p): Likewise.
+ (write_history_p): Likewise.
+ (info_verbose): Likewise.
+ * top.h (confirm): Likewise.
+ (history_expansion_p): Likewise.
+ * tracepoint.c (disconnected_tracing): Likewise.
+ (circular_trace_buffer): Likewise.
+ * typeprint.c (print_methods): Likewise.
+ (print_typedefs): Likewise.
+ * utils.c (debug_timestamp): Likewise.
+ (sevenbit_strings): Likewise.
+ (pagination_enabled): Likewise.
+ * utils.h (sevenbit_strings): Likewise.
+ (pagination_enabled): Likewise.
+ * valops.c (overload_resolution): Likewise.
+ * valprint.h (struct value_print_options) <prettyformat_arrays,
+ prettyformat_structs, vtblprint, unionprint, addressprint, objectprint,
+ stop_print_at_null, print_array_indexes, deref_ref, static_field_print,
+ pascal_static_field_print, raw, summary, symbol_print, finish_print>:
+ Likewise.
+ * windows-nat.c (new_console): Likewise.
+ (cygwin_exceptions): Likewise.
+ (new_group): Likewise.
+ (debug_exec): Likewise.
+ (debug_events): Likewise.
+ (debug_memory): Likewise.
+ (debug_exceptions): Likewise.
+ (useshell): Likewise.
+ * windows-tdep.c (maint_display_all_tib): Likewise.
+ * xml-support.c (debug_xml): Likewise.
+
+2019-09-17 Mike Gulick <mgulick@mathworks.com>
+
+ * source.c (prepare_path_for_appending): New function.
+ (openp): Make use of new function.
+ (find_and_open_source): Search for the compilation directory and
+ source file as a relative path beneath the directory search path.
+
+2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * source-cache.c (source_cache::get_line_charpos): Catch
+ exceptions and return false, this matches the behaviour documented
+ in the header file.
+
+2019-09-17 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-tasks.c (info_task): Remove quoting of the task's name.
+
+2019-09-16 Christian Biesinger <cbiesinger@google.com>
+
+ * symfile.c (auto_solib_add): Replace comment with a reference
+ to the header file.
+
+2019-09-14 Christian Biesinger <cbiesinger@google.com>
+
+ * NEWS: Mention that gdb can now be compiled with Python 3
+ on Windows.
+
+2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * maint.c (maint_print_section_data::maint_print_section_data):
+ Force use of 'float log10 (float)' by casting the argument to
+ float.
+
+2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * maint.c: Add 'cmath' include.
+ (struct maint_print_section_data): New structure.
+ (print_section_index): New function.
+ (print_bfd_section_info): Add header comment, small whitespace
+ cleanup, and update to call new print_section_index function.
+ (print_objfile_section_info): Likewise.
+ (maint_obj_section_from_bfd_section): New function.
+ (print_bfd_section_info_maybe_relocated): New function.
+ (maintenance_info_sections): Add header comment, always use
+ bfd_map_over_sections instead of ALL_OBJFILE_OSECTIONS.
+
+2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * psymtab.c (find_pc_sect_psymtab): Move baseaddr local into more
+ inner scope, add check that the objfile has psymtabs before
+ checking psymtabs_addrmap.
+ * psymtab.h (psymtab_storage) <psymtabs_addrmap>: Extend comment.
+
+2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * NEWS: Announce that Ada task names are now shown at more places,
+ and between quotes (except in info task output).
+ * gdb/ada-tasks.c (task_to_str): New function.
+ (display_current_task_id): Call task_to_str.
+ (task_command_1): Likewise.
+ (print_ada_task_info): In non-mi mode, Properly align headers and data
+ when task-id length is > 9 (9 is the default for a 32 bits CORE_ADDR).
+
+2019-09-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * procfs.c (procfs_target::wait) <PR_FAULTED>: Get signal from
+ prstatus.pr_lwp.pr_info instead of making it up.
+
+2019-09-11 Christian Biesinger <cbiesinger@google.com>
+
+ * auto-load.c (auto_load_expand_dir_vars): Update.
+ * defs.h (gdb_datadir): Change to std::string.
+ (python_libdir): Likewise.
+ (relocate_gdb_directory): Change return type to std::string.
+ * guile/guile.c (gdbscm_data_directory): Update.
+ (initialize_scheme_side): Update.
+ * jit.c (jit_reader_dir): Change to std::string.
+ (jit_reader_load_command): Update.
+ * main.c (gdb_datadir): Change to std::string.
+ (python_libdir): Likewise.
+ (set_gdb_data_directory): Update.
+ (relocate_path): Change to return std::string.
+ (relocate_gdb_directory): Change to return std::string.
+ (relocate_gdbinit_path_maybe_in_datadir): Update.
+ (captured_main_1): Update.
+ * python/python.c (do_start_initialization): Update.
+ * top.c (show_gdb_datadir): Update.
+ * xml-syscall.c (xml_init_syscalls_info): Update.
+ (init_syscalls_info): Update.
+
+2019-09-11 Christian Biesinger <cbiesinger@google.com>
+
+ * main.c (relocate_gdbinit_path_maybe_in_datadir): Factor this code
+ out of get_init_files.
+ (get_init_files): Update.
+
+2019-09-11 Christian Biesinger <cbiesinger@google.com>
+
+ * main.c (get_init_files): Change to use std::string.
+ (captured_main_1): Update.
+ (print_gdb_help): Update.
+
+2019-09-11 Ali Tamur <tamur@google.com>
+
+ *gdb/target-float.c (host_float_ops<T>::to_longest): Update
+ implementation.
+
+2019-09-11 Christian Biesinger <cbiesinger@google.com>
+
+ * dbxread.c (read_dbx_symtab): Update.
+ * dwarf2read.c (load_partial_dies): Update.
+ * mdebugread.c (parse_partial_symbols): Update.
+ (handle_psymbol_enumerators): Update.
+ * psympriv.h (add_psymbol_to_list): Change type of copy_names to bool.
+ * psymtab.c (add_psymbol_to_bcache): Likewise.
+ (add_psymbol_to_list): Likewise.
+ * symtab.c (symbol_set_names): Likewise.
+ * symtab.h (symbol_set_names): Likewise.
+ * xcoffread.c (scan_xcoff_symtab): Update.
+
+2019-09-11 Tom Tromey <tom@tromey.com>
+
+ * symfile-mem.c (symbol_file_add_from_memory): Use
+ bfd_set_filename.
+ * solib-darwin.c (darwin_bfd_open): Use bfd_set_filename.
+ * solib-aix.c (solib_aix_bfd_open): Use bfd_set_filename.
+
+2019-09-10 Tom Tromey <tromey@adacore.com>
+
+ * dwarf-index-write.c (write_psymbols): Extend error message.
+ (debug_names::insert): Add Ada code.
+ (debug_names::write_psymbols): Remove Ada check.
+ (debug_names) <m_string_obstack>: New member.
+ * dwarf2read.c (gdb_index_symbol_name_matcher): Remove.
+ (gdb_index_symbol_name_matcher::matches): Remove.
+ (mapped_index_base::find_name_components_bounds): Add "lang"
+ parameter.
+ (mapped_index_base::build_name_components): Also split names
+ according to Ada syntax.
+ (dw2_expand_symtabs_matching_symbol): Loop over languages. Change
+ type of "match_callback".
+ (check_match, check_find_bounds_finds)
+ (dw2_expand_symtabs_matching): Update.
+ (dw2_debug_names_iterator): Add new constructor.
+ (dw2_debug_names_map_matching_symbols): New function.
+ (dw2_debug_names_expand_symtabs_matching): Update.
+ (dwarf2_debug_names_functions): Use
+ dw2_debug_names_map_matching_symbols.
+
+2019-09-10 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2read.c (dw2_get_file_names_reader): Add the
+ CU's file name to the results.
+
+2019-09-10 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (add_nonlocal_symbols): Combine calls to
+ map_matching_symbols. Update.
+ * dwarf2read.c (dw2_map_matching_symbols): Update.
+ * psymtab.c (match_partial_symbol): Change type; update.
+ (psym_map_matching_symbols): Likewise.
+ * symfile-debug.c (debug_qf_map_matching_symbols): Change
+ type; update.
+ * symfile.h (struct quick_symbol_functions)
+ <map_matching_symbols>: Change "name" to be a lookup_name_info.
+ Remove "match".
+
+2019-09-10 Tom Tromey <tromey@adacore.com>
+
+ * psymtab.c (map_block): Remove.
+ (psym_map_matching_symbols): Use iterate_over_symbols_terminated.
+ * symtab.c (iterate_over_symbols_terminated): New function.
+ * symtab.c (iterate_over_symbols_terminated): Declare.
+
+2019-09-10 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (ada_iterate_over_symbols): Return bool.
+ * language.h (struct language_defn) <la_iterate_over_symbols>:
+ Return bool.
+ * symtab.c (iterate_over_symbols): Return bool.
+ * symtab.h (iterate_over_symbols): Return bool.
+
+2019-09-10 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (aux_add_nonlocal_symbols): Change type.
+ (add_nonlocal_symbols): Update.
+ * dwarf2read.c (dw2_map_matching_symbols): Change type.
+ * psymtab.c (map_block, psym_map_matching_symbols): Change type.
+ * symfile-debug.c (debug_qf_map_matching_symbols): Change type.
+ * symfile.h (struct quick_symbol_functions) <map_matching_symbols>:
+ Change type of "callback". Remove "data".
+
+
+2019-09-09 Ali Tamur <tamur@google.com>
+
+ * dwarf2read.c (comp_unit_head): Update comment.
+ (dwarf2_dwo_name): New function declaration.
+ (dwarf_unit_type_name): New function declaration.
+ (read_comp_unit_head): Add support for new compilation units,
+ DW_UT_partial, DW_UT_skeleton, DW_UT_split_compile, DW_UT_split_type.
+ Particularly, DW_UT_skeleton and DW_UT_split_compile have dwo_id
+ (currently named as "signature") in their header. Also clarify error
+ messages.
+ (lookup_dwo_id): New function. Returns the dwo id of the given
+ compile unit.
+ (lookup_dwo_unit): Use the new lookup_dwo_id function.
+ (init_cutu_and_read_dies): Use the new dwarf2_dwo_name and lookup_dwo_id
+ functions.
+ (create_dwo_cu_reader): Use the added lookup_dwo_id function.
+ (dwarf2_dwo_name): Get the dwo name if present.
+ (dwarf_unit_type_name): Convert DW_UT_* types to string for diagnostic
+ purposes.
+
+2019-09-09 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-win.c (tui_all_windows_info): Use ui_out.
+
+2019-09-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * python/python.c (do_start_initialization): Make progname_copy static,
+ to avoid a leak report.
+
+2019-09-08 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-wingeneral.c (box_win): Truncate long window titles.
+
+2019-09-07 Simon Marchi <simon.marchi@efficios.com>
+
+ * dwarf2read.c (struct dw2_symtab_iterator) <block_index>:
+ Change type to gdb::optional<block_enum>.
+ (dw2_symtab_iter_init): Change block_index parameter type
+ to gdb::optional<block_enum>.
+ (dw2_lookup_symbol): Change block_index parameter
+ type to block_enum.c
+ (dw2_debug_names_lookup_symbol): Likewise.
+ * psymtab.c (psym_lookup_symbol): Likewise.
+ * symfile-debug.c (debug_qf_lookup_symbol): Likewise.
+ * symfile.h (struct quick_symbol_functions) <lookup_symbol>:
+ Likewise.
+
+2019-09-06 Christian Biesinger <cbiesinger@google.com>
+
+ * defs.h (relocate_gdb_directory): Change int to bool in
+ signature and rename flag to relocatable.
+ * main.c (relocate_path): Likewise.
+ (relocate_gdb_directory): Likewise.
+
+2019-09-06 Alan Modra <amodra@gmail.com>
+
+ * coffread.c (coff_symfile_read): Constify filename variable.
+ * dbxread.c (dbx_symfile_init, coffstab_build_psymtabs),
+ (elfstab_build_psymtabs, stabsect_build_psymtabs): Likewise.
+ * gdb_bfd.c (gdb_bfd_close_or_warn): Likewise.
+ * solib.c (reload_shared_libraries_1): Likewise.
+ * symfile.c (reread_symbols): Likewise.
+ * solib-aix.c (solib_aix_bfd_open): Add cast for xfree of filename.
+ * solib-darwin.c (darwin_bfd_open): Likewise.
+ * symfile-mem.c (symbol_file_add_from_memory): Likewise.
+
+2019-09-03 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * psymtab.c (print_partial_symbols): Handle missing domain_enum
+ values MODULE_DOMAIN and COMMON_BLOCK_DOMAIN.
+
+2019-09-03 Tom Tromey <tromey@adacore.com>
+
+ * ada-valprint.c (ada_val_print_num): Don't recurse for range
+ types.
+ (has_negatives): Unbias a range type bound.
+ * dwarf2read.c (read_subrange_type): Handle DW_AT_GNU_bias.
+ * gdbtypes.c (operator==): Handle new field.
+ (create_range_type): Add "bias" parameter.
+ (create_static_range_type, resolve_dynamic_range): Update.
+ * gdbtypes.h (struct range_bounds) <bias>: New member.
+ (create_range_type): Add bias parameter.
+ * printcmd.c (print_scalar_formatted): Unbias range types.
+ * value.c (unpack_long): Unbias range types.
+ (pack_long): Bias range types.
+
+2019-09-02 Alan Hayward <alan.hayward@arm.com>
+
+ * solib-svr4.c (svr4_find_and_create_probe_breakpoints): Check all
+ probe arguments.
+
+2019-09-02 Alan Hayward <alan.hayward@arm.com>
+
+ * break-catch-throw.c (fetch_probe_arguments): Use gdbarch.
+ * dtrace-probe.c (dtrace_probe::get_argument_count): Likewise.
+ * probe.c (probe_safe_evaluate_at_pc) (compute_probe_arg)
+ (compile_probe_arg): Likewise.
+ * probe.h (get_argument_count): Likewise.
+ * solib-svr4.c (solib_event_probe_action): Likewise.
+ * stap-probe.c (stap_probe::get_argument_count): Likewise.
+
+2019-09-02 Alan Hayward <alan.hayward@arm.com>
+
+ * solib-svr4.c (svr4_find_and_create_probe_breakpoints): Move
+ code to here...
+ (svr4_create_solib_event_breakpoints): ...from here.
+
+2019-08-30 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * nat/fork-inferior.c (trace_start_error): Remove "\nError: "
+ suffix from warning message.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-winsource.h (struct tui_source_window_base)
+ <refresh_all>: Don't declare.
+ * tui/tui-winsource.c (tui_source_window_base::refresh_all):
+ Remove.
+ * tui/tui-win.c (tui_refresh_all_win): Don't call refresh_all or
+ tui_show_locator_content.
+ * tui/tui-regs.h (struct tui_data_window) <refresh_all>: Don't
+ declare.
+ * tui/tui-regs.c (tui_data_window::refresh_all): Remove.
+ * tui/tui-data.h (struct tui_win_info) <refresh_all>: Don't
+ declare.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-io.c (tui_cont_sig): Don't call wrefresh.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-stack.c (_initialize_tui_stack): Move later.
+ Remove unnecessary forward declarations.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-stack.c (tui_locator_window::set_locator_fullname): Call
+ rerender.
+ (tui_update_locator_fullname, tui_show_frame_info): Don't call
+ tui_show_locator_content.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-stack.c (tui_show_locator_content): Move lower. Rewrite.
+ (tui_locator_window::rerender): Rewrite using body of previous
+ tui_show_locator_content.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-stack.h (struct tui_locator_window) <set_locator_info,
+ set_locator_fullname>: New methods.
+ * tui/tui-stack.c (tui_locator_window::set_locator_fullname):
+ Rename from tui_set_locator_fullname.
+ (tui_locator_window::set_locator_info): Rename from
+ tui_set_locator_info. Return bool.
+ (tui_update_locator_fullname, tui_show_frame_info): Update.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-layout.c (show_layout): Don't call tui_refresh_all.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Don't
+ call touchwin.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-wingeneral.c (box_win): Assume win_info and
+ win_info->handle cannot be NULL.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.h (struct tui_data_item_window) <rerender,
+ refresh_window>: Declare.
+ * tui/tui-regs.c (tui_data_window::display_registers_from): Call
+ resize.
+ (tui_data_item_window::rerender): Rename from
+ tui_display_register.
+ (tui_data_item_window::refresh_window): New method.
+ * tui/tui-layout.c (tui_gen_win_info::resize): Do nothing on
+ no-op.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.h (struct tui_data_window) <regs_content,
+ regs_column_count, current_group>: Move later. Now private.
+ <get_current_group>: New method.
+ * tui/tui-regs.c (tui_reg_command): Update.
+ * tui/tui-layout.c (tui_set_layout): Update.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_data_window::display_registers_from_line)
+ (tui_data_window::rerender): Don't call
+ check_and_display_highlight_if_needed.
+ (tui_data_window::refresh_all): Remove call to
+ erase_data_content.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_data_window::last_regs_line_no)
+ (tui_data_window::display_registers_from)
+ (tui_data_window::display_reg_element_at_line)
+ (tui_data_window::display_registers_from_line): Remove checks of
+ "empty".
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.h (struct tui_data_window) <display_all_data>:
+ Don't declare.
+ * tui/tui-regs.c (tui_data_window::show_registers): Call
+ rerender.
+ (tui_data_window::rerender): Rename from display_all_data.
+ (tui_data_window::rerender): Remove old implementation.
+
+2019-08-30 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_data_window::display_all_data): Change
+ text.
+ * tui/tui-data.h (NO_DATA_STRING): Remove define.
+
+2019-08-29 Bernhard Wodok <barto@gmx.net>
+ Sergio Durigan Junior <sergiodj@redhat.com>
+
+ PR win32/24284
+ * mingw-hdep.c (gdb_select): Handle case when 'n' is zero.
+
+2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * symtab.c (search_symbols): Don't include MODULE_DOMAIN symbols
+ when searching for types.
+
+2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * f-lang.c (f_language_defn): Use f_print_typedef.
+ * f-lang.h (f_print_typedef): Declare.
+ * f-typeprint.c (f_print_typedef): Define.
+
+2019-08-27 Christian Biesinger <cbiesinger@google.com>
+
+ * nat/linux-namespaces.c (mnsh_main): Initialize fd (to -1).
+
+2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * cli/cli-utils.c (info_print_options_defs): Delete.
+ (make_info_print_options_def_group): Delete.
+ (extract_info_print_options): Delete.
+ (info_print_command_completer): Delete.
+ (info_print_args_help): Add extra parameter, and optionally
+ include text about -n flag.
+ * cli/cli-utils.h (struct info_print_options): Delete.
+ (extract_info_print_options): Delete declaration.
+ (info_print_command_completer): Delete declaration.
+ (info_print_args_help): Add extra parameter, extend header
+ comment.
+ * python/python.c (gdbpy_rbreak): Pass additional parameter to
+ search_symbols.
+ * stack.c (struct info_print_options): New type.
+ (info_print_options_defs): New file scoped variable.
+ (make_info_print_options_def_group): New static function.
+ (info_print_command_completer): New static function.
+ (info_locals_command): Update to use new local functions.
+ (info_args_command): Likewise.
+ (_initialize_stack): Add extra parameter to calls to
+ info_print_args_help.
+ * symtab.c (search_symbols): Add extra parameter, use this to
+ possibly excluse non-debug symbols.
+ (symtab_symbol_info): Add extra parameter, which is passed on to
+ search_symbols.
+ (struct info_print_options): New type.
+ (info_print_options_defs): New file scoped variable.
+ (make_info_print_options_def_group): New static function.
+ (info_print_command_completer): New static function.
+ (info_variables_command): Update to use local functions, and pass
+ extra parameter through to symtab_symbol_info.
+ (info_functions_command): Likewise.
+ (info_types_command): Pass additional argument through to
+ symtab_symbol_info.
+ (rbreak_command): Pass extra argument to search_symbols.
+ (_initialize_symtab): Add extra arguments for calls to
+ info_print_args_help, and update help text for 'info variables',
+ 'whereis', and 'info functions' commands.
+ * symtab.h (search_symbols): Add extra argument to declaration.
+ * NEWS: Mention new flags.
+
+2019-08-26 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.c (lookup_static_symbol): Call the new function (and move
+ it down to be next to lookup_global_symbol).
+ (struct global_sym_lookup_data): Add block_enum member and rename to...
+ (struct global_or_static_sym_lookup_data): ...this.
+ (lookup_symbol_global_iterator_cb): Pass block_index instead of
+ GLOBAL_BLOCK to lookup_symbol_in_objfile and rename to...
+ (lookup_symbol_global_or_static_iterator_cb): ...this.
+ (lookup_global_or_static_symbol): New function.
+ (lookup_global_symbol): Call new function.
+
+2019-08-26 Tom de Vries <tdevries@suse.de>
+
+ PR c++/24852
+ * break-catch-throw.c (fetch_probe_arguments): Improve error mesage
+ when pc_probe.prob == NULL.
+
+2019-08-25 Simon Marchi <simon.marchi@efficios.com>
+
+ * dwarf2read.c (dw2_debug_names_iterator::next): Rename local
+ variable symbol_linkage to symbol_linkage_.
+
+2019-08-25 Simon Marchi <simon.marchi@efficios.com>
+
+ * dwarf2read.c (dw2_debug_names_iterator::next): Use enum to
+ represent whether the symbol is static, dynamic, or we don't
+ know.
+
+2019-08-25 Yoshinori Sato <ysato@users.sourceforge.jp>
+
+ * gdb/rx-tdep.c (rx_register_names): New.
+ (rx_register_name): Delete.
+ (rx_psw_type): Delete.
+ (rx_fpsw_type): Delete.
+ (rx_register_type): Delete.
+ (rx_gdbarch_init): Convert target-descriptions.
+ (_initialize_rx_tdep): Add initialize_tdesc_rx.
+ * gdb/features/Makefile: Add rx.xml.
+ * gdb/features/rx.xml: New.
+ * gdb/features/rx.c: Generated.
+ * gdb/NEWS: Mention target description support.
+
+2019-08-22 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.c (symbol_cache_lookup): Always initialize *bsc_ptr and
+ *slot_ptr.
+
+2019-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * configure.ac: Don't check for 'dlfcn.h' (moved to
+ gdbsupport/common.m4).
+ * Makefile.in (COMMON_SFILES): Move 'gdb-dlfcn.c' to
+ 'gdbsupport/'.
+ (HFILES_NO_SRCDIR): Likewise, for 'gdb-dlfcn.h'.
+ * compile/compile-c-support.c: Include
+ 'gdbsupport/gdb-dlfcn.h'.
+ * gdbsupport/common.m4: Check for 'dlfcn.h'.
+ * gdb-dlfcn.c: Move to...
+ * gdbsupport/gdb-dlfcn.c: ... here.
+ * gdb-dlfcn.h: Move to...
+ * gdbsupport/gdb-dlfcn.h: ... here.
+
+2019-08-23 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-tdep.c (struct reg_value): Improve comments. Make
+ the offset field signed.
+
+2019-08-22 Christian Biesinger <cbiesinger@google.com>
+
+ * python/lib/gdb/__init__.py (_execute_file): New function.
+ * python/python.c (python_run_simple_file): Call gdb._execute_file
+ on Windows.
+
+2019-08-22 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * f-exp.y (yylex): Remove is_a_field_of_this local variable, and
+ all uses as this was never set to anything but a zero value.
+
+2019-08-21 Bogdan Harjoc <harjoc@gmail.com>
+
+ * cli/cli-cmds.c (with_command_1): Error out if no arguments.
+
+2019-08-21 Christian Biesinger <cbiesinger@google.com>
+
+ * tui/tui-data.h (tui_gen_win_info): Add an =default
+ move constructor, required by some GCC versions.
+
+2019-08-21 Jinke Fan <fanjinke51@yeah.net>
+
+ * go32-nat.c (go32_sysinfo): Add hygon_p.
+
+2019-08-20 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.h (struct tui_data_window) <last_regs_line_no,
+ line_from_reg_element_no, first_reg_element_no_inline,
+ display_all_data, delete_data_content_windows,
+ erase_data_content>: Now private.
+
+2019-08-20 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-wingeneral.c (box_win): Change type of highlight_flag.
+ (tui_unhighlight_win, tui_highlight_win)
+ (tui_win_info::make_window): Update.
+ * tui/tui-data.h (HILITE, NO_HILITE): Remove.
+
+2019-08-20 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-data.h (PROC_PREFIX, LINE_PREFIX, PC_PREFIX)
+ (MIN_LINE_WIDTH, MIN_PROC_WIDTH, MAX_TARGET_WIDTH)
+ (MAX_PID_WIDTH): Move to tui-stack.c.
+ * tui/tui-stack.c (PROC_PREFIX, LINE_PREFIX, PC_PREFIX)
+ (MIN_LINE_WIDTH, MIN_PROC_WIDTH, MAX_TARGET_WIDTH)
+ (MAX_PID_WIDTH): Move from tui-data.h.
+
+2019-08-20 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-wingeneral.h (tui_make_window): Don't declare.
+ * tui/tui-wingeneral.c (box_win): Change type of win_info.
+ (box_win): Update.
+ (tui_gen_win_info::make_window): Rename from tui_make_window.
+ (tui_win_info::make_window): New method.
+ (tui_gen_win_info::make_visible): Update.
+ * tui/tui-source.c (tui_source_window::set_contents): Update.
+ * tui/tui-regs.c (tui_data_window::show_register_group): Update.
+ (tui_data_window::display_registers_from): Update.
+ * tui/tui-layout.c (tui_gen_win_info::resize): Update.
+ * tui/tui-data.h (struct tui_gen_win_info) <make_window>:
+ Declare.
+ <can_box>: Remove.
+ <title>: Remove.
+ (struct tui_win_info) <make_window>: Declare.
+ <can_box>: Now virtual.
+ <title>: New member.
+ * tui/tui-data.c (~tui_gen_win_info): Don't free title.
+ * tui/tui-command.c (tui_cmd_window::resize): Update.
+
+2019-08-20 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.h (struct tui_data_window) <display_regs>: Remove.
+ * tui/tui-regs.c (tui_data_window::show_registers): Update.
+ (tui_data_window::check_register_values): Update.
+
+2019-08-20 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.h (struct tui_data_window): Use
+ DISABLE_COPY_AND_ASSIGN.
+ <regs_content>: Change type, removing unique_ptr.
+ <tui_data_window>: Add move constructor.
+ * tui/tui-regs.c (tui_data_window::show_registers)
+ (tui_data_window::show_register_group)
+ (tui_data_window::display_registers_from)
+ (tui_data_window::display_registers_from)
+ (tui_data_window::first_data_item_displayed)
+ (tui_data_window::delete_data_content_windows)
+ (tui_data_window::rerender, tui_data_window::refresh_window)
+ (tui_data_window::check_register_values): Update.
+
+2019-08-20 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.h (struct tui_data_window) <show_registers,
+ show_register_group>: Declare.
+ (tui_show_register_group): Don't declare.
+ * tui/tui-regs.c (tui_data_window::show_registers): Rename from
+ tui_show_registers.
+ (tui_data_window::show_register_group): Rename from
+ tui_show_register_group.
+ (tui_data_window::check_register_values, tui_reg_command):
+ Update.
+ * tui/tui-layout.c (tui_set_layout): Update.
+
2019-08-20 Tom Tromey <tom@tromey.com>
* tui/tui-regs.h (struct tui_data_window) <check_register_values>:
2019-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
+ PR breakpoints/24541
* stap-probe.c (stap_parse_register_operand): Make "regname" an
"std::string", simplifying the algorithm.