X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=4f40ea82ee9c4e3727a1a442eec3c81a6ecce64f;hb=e06f3d6eba37df8451ecc2ce2ac76cba811e8b35;hp=ea87d009510ee097af348e5e834817654f8a6d3c;hpb=85102364b2d1845fe9ae7d70096671a3ea4bccf3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ea87d00951..4f40ea82ee 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,838 @@ +2019-11-12 Andrew Burgess + + * gdbsupport/format.c (format_pieces::format_pieces): Support + printf 'z' size modifier. + * gdbsupport/format.h (enum argclass): Add size_t_arg. + * printcmd.c (ui_printf): Handle size_t_arg. + * ui-out.c (ui_out::vmessage): Likewise. + * unittests/format_pieces-selftests.c (test_format_int_sizes): New + function. + (run_tests): Call test_format_int_sizes. + +2019-11-12 Christian Biesinger + + * ada-exp.y (write_ambiguous_var): Update. + * buildsym.c (add_symbol_to_list): Update. + * dwarf2read.c (read_variable): Update. + (new_symbol): Update. + * jit.c (finalize_symtab): Update. + * language.c (language_alloc_type_symbol): Update. + * symtab.c (fixup_symbol_section): Update. + (initialize_objfile_symbol_1): Move code to... + (initialize_objfile_symbol): ...here. Remove now-unnecessary memset. + (allocate_symbol): Update. + (allocate_template_symbol): Update. + (get_symbol_address): Update. + * symtab.h (struct symbol): Inherit from general_symbol_info instead + of having as a field, and add a constructor. + (SYMBOL_VALUE): Update. + (SYMBOL_VALUE_ADDRESS): Update. + (SET_SYMBOL_VALUE_ADDRESS): Update. + (SYMBOL_VALUE_BYTES): Update. + (SYMBOL_VALUE_COMMON_BLOCK): Update. + (SYMBOL_BLOCK_VALUE): Update. + (SYMBOL_VALUE_CHAIN): Update. + (SYMBOL_LANGUAGE): Update. + (SYMBOL_SECTION): Update. + (SYMBOL_OBJ_SECTION): Update. + (SYMBOL_SET_LANGUAGE): Update. + (SYMBOL_SET_LINKAGE_NAME): Update. + (SYMBOL_SET_NAMES): Update. + (SYMBOL_NATURAL_NAME): Update. + (SYMBOL_LINKAGE_NAME): Update. + (SYMBOL_DEMANGLED_NAME): Update. + (SYMBOL_SEARCH_NAME): Update. + (SYMBOL_MATCHES_SEARCH_NAME): Update. + (struct symbol): Update. + (struct template_symbol): Update. + (struct rust_vtable_symbol): Update. + * xcoffread.c (SYMBOL_DUP): Update. + +2019-11-12 Tom Tromey + + * tui/tui-layout.c (show_layout): Set current_layout. + (show_source_disasm_command, show_data) + (show_source_or_disasm_and_command): Don't set current_layout. + +2019-11-12 Tom Tromey + + * tui/tui-layout.c (_initialize_tui_layout): Move to end. + +2019-11-12 Tom Tromey + + * tui/tui-win.c (resize_message): New global. + (show_tui_resize_message): New function. + (tui_async_resize_screen): Print message if requested. + (_initialize_tui_win): Add tui-resize-message setting. + * NEWS: Add entry for new commands. + +2019-11-11 Tom Tromey + + * tui/tui.c (tui_initialize_readline): Add new bindable readline + functions. + +2019-11-11 Christian Biesinger + + * nat/linux-osdata.c (user_from_uid): Use getpwuid_r. + +2019-11-10 Andrew Burgess + + * python/py-symbol.c (gdbpy_lookup_static_symbols): New + function. + * python/python-internal.h (gdbpy_lookup_static_symbols): + Declare new function. + * python/python.c (python_GdbMethods): Add + gdb.lookup_static_symbols method. + * NEWS: Mention gdb.lookup_static_symbols. + +2019-11-10 Andrew Burgess + + * python/py-symbol.c (gdbpy_lookup_static_symbol): Lookup in + static block of current object file first. Also fix typo in + header comment. + +2019-11-10 Andrew Burgess + + * stack.c (set_last_displayed_sal): Delete. + (last_displayed_sal_valid): Delete. + (last_displayed_pspace): Delete. + (last_displayed_addr): Delete. + (last_displayed_symtab): Delete. + (last_displayed_line): Delete. + (class last_displayed_symtab_info_type): New. + (last_displayed_symtab_info): New static global variable. + (print_frame_info): Call methods on last_displayed_symtab_info. + (clear_last_displayed_sal): Update header comment, and make use of + last_displayed_symtab_info. + (last_displayed_sal_is_valid): Likewise. + (get_last_displayed_pspace): Likewise. + (get_last_displayed_addr): Likewise. + (get_last_displayed_symtab): Likewise. + (get_last_displayed_line): Likewise. + (get_last_displayed_sal): Likewise. + * stack.h (clear_last_displayed_sal): Update header comment. + (last_displayed_sal_is_valid): Likewise. + (get_last_displayed_pspace): Likewise. + (get_last_displayed_addr): Likewise. + (get_last_displayed_symtab): Likewise. + (get_last_displayed_line): Likewise. + (get_last_displayed_sal): Likewise. + +2019-11-10 Andrew Burgess + + * stack.c (frame_show_address): Convert return type to bool. + * stack.h (frame_show_address): Likewise, and update header + comment. + +2019-11-10 Andrew Burgess + + * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add new file to the list. + * unittests/vec-utils-selftests.c: New file. + * gdbsupport/gdb_vecs.h (unordered_remove): Avoid self move assign. + +2019-11-10 Tom Tromey + + * tui/tui-wingeneral.c (tui_unhighlight_win): Use can_box. + (tui_highlight_win): Likewise. + (tui_win_info::check_and_display_highlight_if_needed): Likewise. + * tui/tui-data.h (struct tui_win_info) : Remove. + * tui/tui-command.h (struct tui_cmd_window) : + Don't set can_highlight. + +2019-11-10 Tom Tromey + + * cli/cli-style.h (class cli_style_option) : + Remove unused declaration. + +2019-11-08 Tom Tromey + + * top.c (read_command_file): Update. + (command_line_input): Make return type const. + * python/py-gdb-readline.c: Update. + * linespec.c (decode_line_2): Update. + * defs.h (command_line_input): Make return type const. + * cli/cli-script.c (read_next_line): Make return type const. + * ada-lang.c (get_selections): Update. + +2019-11-06 Christian Biesinger + + * linux-tdep.c (linux_info_proc): Use strtok_r instead of strtok. + * mi/mi-main.c (output_cores): Likewise. + * nat/linux-osdata.c (linux_xfer_osdata_cpus): Likewise. + (linux_xfer_osdata_modules): Likewise. + * remote.c (register_remote_support_xml): Likewise. + * sparc64-tdep.c (adi_is_addr_mapped): Likewise. + * xml-syscall.c (syscall_create_syscall_desc): Likewise. + +2019-11-06 Tom Tromey + + * tui/tui-interp.c: Don't include readline.h. + * tui/tui-hooks.c: Don't include readline.h. + * symmisc.c: Include tilde.h, not readline.h. + * symfile.c: Include tilde.h, not readline.h. + * source.c: Include tilde.h, not readline.h. + * solib.c: Include tilde.h, not readline.h. + * psymtab.c: Include tilde.h, not readline.h. + * exec.c: Include tilde.h, not readline.h. + * corelow.c: Include tilde.h, not readline.h. + * cli/cli-dump.c: Include tilde.h, not readline.h. + * cli/cli-cmds.c: Don't include readline.h. + +2019-11-05 Tom Tromey + + * tui/tui-disasm.c (struct tui_asm_line) : New member. + (tui_disassemble): Set addr_size. + (tui_disasm_window::set_contents): Use addr_size. + +2019-11-05 Tom Tromey + + * rust-lang.c (rust_language_defn): Update. + * python/py-value.c (valpy_string): Call c_get_string. + * p-lang.c (pascal_language_defn): Update. + * opencl-lang.c (opencl_language_defn): Update. + * objc-lang.c (objc_language_defn): Update. + * m2-lang.c (m2_language_defn): Update. + * language.c (unknown_language_defn, auto_language_defn): Update. + (default_get_string): Remove. + * guile/scm-value.c (gdbscm_value_to_string): Use c_get_string. + * go-lang.c (go_language_defn): Update. + * f-lang.c (f_language_defn): Update. + * d-lang.c (d_language_defn): Update. + * c-lang.c (c_language_defn, cplus_language_defn) + (asm_language_defn, minimal_language_defn): Update. + * ada-lang.c (ada_language_defn): Update. + * language.h (struct language_defn) : Remove. + (LA_GET_STRING): Remove. + (default_get_string): Don't declare. + +2019-11-05 Tom Tromey + + * tui/tui-source.h (struct tui_source_window): Inline + constructor. Remove destructor. + : Move to superclass. + * tui/tui-winsource.h (tui_copy_source_line): Declare. + (struct tui_source_window_base): Move private members to end. + : Move from tui_source_window. + * tui/tui-winsource.c (tui_copy_source_line): Move from + tui-source.c. Rename from copy_source_line. Add special handling + for negative line number. + (tui_source_window_base::style_changed): Move from + tui_source_window. + (tui_source_window_base): Register observer. + (~tui_source_window_base): New. + * tui/tui-source.c (copy_source_line): Move to tui-winsource.c; + rename. + (tui_source_window::set_contents): Use tui_copy_source_line. + (tui_source_window::tui_source_window): Move to tui-source.h. + (tui_source_window::~tui_source_window): Remove. + (tui_source_window::style_changed): Move to superclass. + * tui/tui-disasm.c (tui_disassemble): Create string file with + styling, when possible. Add "addr_size" parameter. + (tui_disasm_window::set_contents): Use tui_copy_source_line. + Don't compute maximum size. + (len_without_escapes): New function + +2019-11-05 Tom Tromey + + * tui/tui-winsource.h (struct tui_source_element) : Now a + std::string. + * tui/tui-winsource.c (tui_show_source_line): Update. + * tui/tui-source.c (tui_source_window::set_contents): Update. + * tui/tui-disasm.c (tui_disasm_window::set_contents): Update. + +2019-11-05 Christian Biesinger + + * symtab.h (gdb_static_assert): Put && operator at the beginning + of the line instead of the end. + +2019-11-04 Christian Biesinger + + * psympriv.h: Add static_asserts for sizeof (general_symbol_info) + and sizeof (symbol). + * symtab.h: Add a static_assert for sizeof (partial_symbol). + +2019-11-04 Rainer Orth + + * NEWS (Changes since GDB 8.3): Document Solaris 10 removal. + * configure.host: Mark *-*-solaris2.10* obsolete. + * configure.tgt: Mark Solaris < 11 obsolete. + * MAINTAINERS (Target Instruction Set Architectures) : + Update target triplet. + +2019-11-01 Tom Tromey + + * utils.c (print_sys_errmsg): Simplify. + +2019-11-01 Tom Tromey + + * gdbsupport/mingw-strerror.c (safe_strerror): Constify result. + +2019-11-01 Christian Biesinger + + * configure: Regenerate. + * configure.ac: Remove check for strerror_r. + * gdbsupport/common.m4: Check for strerror_r. + +2019-11-01 Luis Machado + + PR gdb/25124 + + * arm-tdep.c (arm_per_objfile): Rename to ... + (arm_per_bfd): ... this. + (arm_objfile_data_key): Rename to ... + (arm_bfd_data_key): ... this. + (arm_find_mapping_symbol): Adjust access to new bfd_key-based + data. + (arm_record_special_symbol): Likewise. + +2019-10-31 Andrew Burgess + + * ada-typeprint.c (ada_print_typedef): Don't print newline at the + end. + * c-typeprint.c (c_print_typedef): Likewise. + * f-typeprint.c (f_print_typedef): Likewise. + * m2-typeprint.c (m2_print_typedef): Likewise. + * p-typeprint.c (pascal_print_typedef): Likewise. + * rust-lang.c (rust_print_typedef): Likewise. + * symtab.c (print_symbol_info): Print a newline after calling + typedef_print. + +2019-10-31 Andrew Burgess + + * symtab.c (info_module_cmdlist): New variable. + (info_module_command): New function. + (search_module_symbols): New function. + (info_module_subcommand): New function. + (struct info_modules_var_func_options): New struct. + (info_modules_var_func_options_defs): New variable. + (make_info_modules_var_func_options_def_group): New function. + (info_module_functions_command): New function. + (info_module_variables_command): New function. + (info_module_var_func_command_completer): New function. + (_initialize_symtab): Register new 'info module functions' and + 'info module variables' commands. + * symtab.h (typedef symbol_search_in_module): New typedef. + (search_module_symbols): Declare new function. + * NEWS: Mention new commands. + +2019-10-31 Andrew Burgess + + * dwarf2read.c (dw2_symtab_iter_next): Handle MODULE_DOMAIN. + (dw2_expand_marked_cus): Handle MODULES_DOMAIN. + (dw2_debug_names_iterator::next): Handle MODULE_DOMAIN and + MODULES_DOMAIN. + (scan_partial_symbols): Only create partial module symbols for non + declarations. + * psymtab.c (recursively_search_psymtabs): Handle MODULE_DOMAIN + and MODULES_DOMAIN. + * symtab.c (search_domain_name): Likewise. + (search_symbols): Likewise. + (print_symbol_info): Likewise. + (symtab_symbol_info): Likewise. + (info_modules_command): New function. + (_initialize_symtab): Register 'info modules' command. + * symtab.h (enum search_domain): Add MODULES_DOMAIN. + * NEWS: Mention new 'info modules' command. + +2019-10-31 Philippe Waroquiers + + * NEWS: Mention $_gdb_setting, $_gdb_setting_str, $_gdb_maint_setting + and $_gdb_maint_setting_str. + +2019-10-31 Philippe Waroquiers + + * cli/cli-cmds.c (setting_cmd, value_from_setting) + (gdb_setting_internal_fn, gdb_maint_setting_internal_fn) + (str_value_from_setting, gdb_setting_str_internal_fn) + (gdb_maint_setting_str_internal_fn): New functions. + (_initialize_cli_cmds): Define the new convenience functions. + * gdb/cli/cli-setshow.h (get_setshow_command_value_string): Constify. + * gdb/cli/cli-setshow.c (get_setshow_command_value_string): Constify. + +2019-10-31 Christian Biesinger + + * agent.c (set_can_use_agent): When the setting is turned on, + look up agent symbols if we don't have them yet. + (agent_new_objfile): Don't look up agent symbols when the agent + setting is off. + +2019-10-31 Christian Biesinger + + * config.in: Regenerate. + +2019-10-31 Christian Biesinger + + * configure: Regenerate. + * configure.ac: Check for strerror_r. + * gdbsupport/common-utils.h (safe_strerror): Change return value + to const char * and document that this function is now threadsafe. + * gdbsupport/posix-strerror.c (safe_strerror): Make buf + thread_local and call strerror_r, if available. + * utils.c (perror_string): Update. + (print_sys_errmsg): Update. + +2019-10-31 Luis Machado + + * arm-tdep.c (arm_exidx_data_key): Use bfd_key instead of + objfile_key. + (arm_exidx_new_objfile): Adjust to use objfile->obfd instead of + objfile to fetch per-bfd data. + (arm_find_exidx_entry): Likewise. + +2019-10-31 Christian Biesinger + + * gdbsupport/agent.c (debug_agent): Change type to bool. + (use_agent): Likewise. + (all_agent_symbols_look_up): Likewise. + (agent_loaded_p): Change return value to bool. + (agent_look_up_symbols): Update. + (agent_capability_check): Change return value to bool. + * gdbsupport/agent.h (agent_loaded_p): Likewise. + (debug_agent): Change type to bool. + (use_agent): Likewise. + (agent_capability_check): Change return value to bool. + +2019-10-30 Christian Biesinger + + * minsyms.c (clear_minimal_symbol_hash_tables): New function. + (build_minimal_symbol_hash_tables): Code to clear the table moved + to clear_minimal_symbol_hash_tables. + (minimal_symbol_reader::install): Call clear_minimal_symbol_hash_tables + when needed. + +2019-10-29 Simon Marchi + + * infcmd.c: Remove includes. + * infrun.c: Remove includes. + +2019-10-29 Simon Marchi + + * ada-lang.h (GROW_VECT): Move to ada-lang.c. + (grow_vect): Remove declaration. + (ada_type_of_array): Remove declaration. + (ada_update_initial_language): Remove declaration. + (ada_fold_name): Remove declaration. + (ada_fill_in_ada_prototype): Remove declaration. + (user_select_syms): Remove declaration. + (get_selections): Remove declaration. + (ada_tag_type): Remove declaration. + (ada_value_tag): Remove declaration. + (ada_is_others_clause): Remove declaration. + (ada_in_variant): Remove declaration. + (ada_value_struct_elt): Remove declaration. + (ada_attribute_name): Remove declaration. + (ada_system_address_type): Remove declaration. + * ada-lang.c (ada_watch_location_expression): Make static. + (GROW_VECT): Move here from ada-lang.h. + (grow_vect): Make static. + (ada_update_initial_language): Make static. + (ada_fold_name): Make static. + (ada_type_of_array): Make static. + (encoded_ordered_before): Move up. + (sort_choices): Move up. + (print_signatures): Move up. + (ada_print_symbol_signature): Move up. + (get_selections): Move up and make static. + (user_select_syms): Move up and make static. + (ada_value_struct_elt): Move up and make static. + (ada_tag_type): Make static. + (ada_value_tag): Make static. + (ada_is_others_clause): Make static. + (ada_in_variant): Make static. + (ada_attribute_name): Make static. + +2019-10-29 Simon Marchi + + * ada-lang.c: Remove includes. + * ada-typeprint.c: Remove includes. + * ada-valprint.c: Remove includes. + +2019-10-29 Simon Marchi + + * addrmap.c: Add static assertions of type size, moved from + _initialize_addrmap. + (_initialize_addrmap): Remove. + +2019-10-29 Christian Biesinger + + * coffread.c (record_minimal_symbol): Update. + (process_coff_symbol): Update. + * dbxread.c (read_dbx_symtab): Update. + * dwarf2read.c (add_partial_symbol): Update. + (fixup_go_packaging): Update. + (load_partial_dies): Update. + (new_symbol): Update. + * elfread.c (record_minimal_symbol): Change signature to use + gdb::string_view instead of name+len. + (elf_symtab_read): Update. + (elf_rel_plt_read): Update. + * mdebugread.c (parse_partial_symbols): Update. + (handle_psymbol_enumerators): Update. + (new_symbol): Update. + * minsyms.c (minimal_symbol_reader::record_full): Change signature + to use gdb::string_view instead of name+len. + * minsyms.h (class minimal_symbol_reader) : Likewise. + * psympriv.h (add_psymbol_to_list): Likewise. + * psymtab.c (add_psymbol_to_bcache): Likewise. + (add_psymbol_to_list): Likewise. + * stabsread.c (define_symbol): Update. + * symtab.c (symbol_set_names): Change signature to use gdb::string_view. + * symtab.h (SYMBOL_SET_NAMES): Likewise. + (symbol_set_names): Likewise. + * xcoffread.c (scan_xcoff_symtab): Update. + +2019-10-29 Christian Biesinger + + * symtab.h (symbol_set_names): Document that copy_name must be + set to true for non-nullterminated strings. + * symtab.c (symbol_set_names): Only make a nullterminated copy of + linkage_name if the entry was not found and we need to demangle. + +2019-10-29 Christian Biesinger + + * Makefile.in (HFILES_NO_SRCDIR): Add gdb_binary_search.h. + * dwarf2-frame.c (bsearch_fde_cmp): Update. + (dwarf2_frame_find_fde): Replace bsearch with gdb::binary_search. + * gdbsupport/gdb_binary_search.h: New file. + +2019-10-29 Christian Biesinger + + * NEWS: Mention new --with-system-gdbinit-dir option. + * config.in: Regenerate. + * configure: Regenerate. + * configure.ac: Add new option --with-system-gdbinit-dir. + * extension.c (get_ext_lang_of_file): Return extension_language_gdb + for a ".gdb" suffix. + * main.c (get_init_files): Change system_gdbinit argument to + a vector and return the files in SYSTEM_GDBINIT_DIR in + addition to SYSTEM_GDBINIT. + (captured_main_1): Update. + (print_gdb_help): Update. + * top.c (print_gdb_configuration): Also print the value of + SYSTEM_GDBINIT_DIR. + +2019-10-28 Christian Biesinger + + * gdbsupport/common-utils.h (startswith): Add an overloaded version + that takes gdb::string_view arguments. + +2019-10-26 Tom de Vries + + * aarch64-linux-tdep.c: Fix typos in comments. + * aarch64-tdep.c: Same. + * ada-lang.c: Same. + * amd64-nat.c: Same. + * arc-tdep.c: Same. + * arch/aarch64-insn.c: Same. + * block.c: Same. + * breakpoint.h: Same. + * btrace.h: Same. + * c-varobj.c: Same. + * cli/cli-decode.c: Same. + * cli/cli-script.c: Same. + * cli/cli-utils.h: Same. + * coff-pe-read.c: Same. + * coffread.c: Same. + * compile/compile-cplus-symbols.c: Same. + * compile/compile-object-run.c: Same. + * completer.c: Same. + * corelow.c: Same. + * cp-support.c: Same. + * demangle.c: Same. + * dwarf-index-write.c: Same. + * dwarf2-frame.c: Same. + * dwarf2-frame.h: Same. + * eval.c: Same. + * frame-base.h: Same. + * frame.h: Same. + * gdbcmd.h: Same. + * gdbtypes.h: Same. + * gnu-nat.c: Same. + * guile/scm-objfile.c: Same. + * i386-tdep.c: Same. + * i386-tdep.h: Same. + * infcall.c: Same. + * infcall.h: Same. + * linux-nat.c: Same. + * m68k-tdep.c: Same. + * macroexp.c: Same. + * memattr.c: Same. + * mi/mi-cmd-disas.c: Same. + * mi/mi-getopt.h: Same. + * mi/mi-main.c: Same. + * minsyms.c: Same. + * nat/aarch64-sve-linux-sigcontext.h: Same. + * objfiles.h: Same. + * ppc-linux-nat.c: Same. + * ppc-linux-tdep.c: Same. + * ppc-tdep.h: Same. + * progspace.h: Same. + * prologue-value.h: Same. + * python/py-evtregistry.c: Same. + * python/py-instruction.h: Same. + * record-btrace.c: Same. + * record-full.c: Same. + * remote.c: Same. + * rs6000-tdep.c: Same. + * ser-tcp.c: Same. + * sol-thread.c: Same. + * sparc-sol2-tdep.c: Same. + * sparc64-tdep.c: Same. + * stabsread.c: Same. + * symfile.c: Same. + * symtab.h: Same. + * target.c: Same. + * tracepoint.c: Same. + * tui/tui-data.h: Same. + * tui/tui-io.c: Same. + * tui/tui-win.c: Same. + * tui/tui.c: Same. + * unittests/rsp-low-selftests.c: Same. + * user-regs.h: Same. + * utils.c: Same. + * utils.h: Same. + * valarith.c: Same. + * valops.c: Same. + * valprint.c: Same. + * valprint.h: Same. + * value.c: Same. + * value.h: Same. + * varobj.c: Same. + * x86-nat.h: Same. + * xtensa-tdep.c: Same. + +2019-10-25 Ali Tamur + + * charset.c (find_charset_names): Reflect API change. + +2019-10-25 Christian Biesinger + + * symtab.c (struct demangled_name_entry): Change demangled name + to a unique_xmalloc_ptr, now that we don't allocate it as + part of the struct anymore. + (symbol_set_names): No longer obstack allocate + copy the demangled + name, just store the allocated name from bfd. + +2019-10-25 Tom Tromey + + * dwarf2-frame.c (dwarf2_cie_table): Now a typedef. + (bsearch_cie_cmp, add_cie): Remove. + (find_cie): Reimplement. + (decode_frame_entry_1, decode_frame_entry): Change type. Update. + (dwarf2_build_frame_info): Update. + +2019-10-24 H.J. Lu + + PR gdb/25126 + * symfile.c (reread_symbols): Call forget_cached_source_info to + clear the stale source cache. + +2019-10-24 Christian Biesinger + + * configure: Regenerate. + * configure.ac: Remove code that sets python_has_threads. + +2019-10-24 Christian Biesinger + + * config.in: Regenerate. + * configure: Regenerate. + * configure.ac: Remove the code that uses sed to get the python + version and defines HAVE_LIBPYTHON2_6 / HAVE_LIBPYTHON2_7. + +2019-10-24 Andrew Burgess + + * python/py-progspace.c (pspy_block_for_pc): Return None for all + error paths. + +2019-10-23 Tom Tromey + + * arc-tdep.c: Remove ".." from include. + * frv-tdep.c: Remove ".." from include. + * lm32-tdep.c: Remove ".." from include. + * microblaze-tdep.c: Remove ".." from include. + * or1k-tdep.h: Remove ".." from include. + * s12z-tdep.c: Remove ".." from include. + * Makefile.in (OPCODES_CFLAGS): Add comment. + (TOP_CFLAGS): New variable. + (INTERNAL_CFLAGS_BASE): Add TOP_CFLAGS. + +2019-10-23 Tom Tromey + + * Makefile.in (READLINE_DIR): Update. + +2019-10-23 Tankut Baris Aktemur + + * infcall.c (call_function_by_hand_dummy): Fix the function + comment. And extract out a code section into... + (reserve_stack_space): ...this new function. + +2019-10-23 Tankut Baris Aktemur + + * infcall.c (value_arg_coerce): Remove an unused parameter. + (call_function_by_hand_dummy): Update the call to + 'value_arg_coerce'. + +2019-10-23 Tankut Baris Aktemur + + * infcall.c (call_function_by_hand_dummy): Refactor. + +2019-10-23 Tankut Baris Aktemur + + * MAINTAINERS (Write After Approval): Add Tankut Baris Aktemur. + +2019-10-23 Tom Tromey + + * configure: Rebuild. + * configure.ac: Don't check for sigprocmask. + * gdbsupport/common.m4 (GDB_AC_COMMON): Check for sigprocmask. + +2019-10-23 Tom Tromey + + * configure: Rebuild. + * acinclude.m4: Use m4_include, not sinclude. + +2019-10-23 Tom de Vries + + PR breakpoints/24687 + * symtab.c (iterate_over_some_symtabs): Apply gdb_realpath on fullname. + +2019-10-22 Christian Biesinger + + * symtab.c (struct demangled_name_entry) : Change from + bitfield to regular variable. + +2019-10-22 Christian Biesinger + + * symtab.c (struct demangled_name_entry): Add a constructor. + (free_demangled_name_entry): New function to call the destructor + for demangled_name_entry. + (create_demangled_names_hash): Pass free_demangled_name_entry to + htab_create_alloc. + (symbol_set_names): Call placement new for demangled_name_entry. + * utils.c: No longer include xxhash.h here, now that fast_hash + is inlined in the header. + * utils.h: Instead, include it here. + +2019-10-22 Christian Biesinger + + * Makefile.in: Link with libxxhash. + * config.in: Regenerate. + * configure: Regenerate. + * configure.ac: Search for libxxhash. + * utils.c (fast_hash): Use xxhash if present. + +2019-10-22 Christian Biesinger + + * utils.h (fast_hash): New function. + * symtab.c (hash_demangled_name_entry): Call new function + fast_hash. + +2019-10-22 Christian Biesinger + + * symtab.c (struct demangled_name_entry): Change type of mangled + to gdb::string_view. Also adds a constructor that takes the + mangled name. + (hash_demangled_name_entry): Update. + (eq_demangled_name_entry): Update. + (free_demangled_name_entry): New function to call the destructor + now that this is not a POD anymore. + (create_demangled_names_hash): Pass free_demangled_name_entry to + htab_create_alloc. + (symbol_set_names): Update. + +2019-10-21 Ali Tamur + + * dwarf2read.c (dir_index): Change type. + (file_name_index): Likewise. + (line_header::include_dir_at): Change comment and implementation on + whether it is DWARF 5. + (line_header::is_valid_file_index): New function. + (line_header::file_name_at): Change comment and implementation on + whether it is DWARF 5. + (line_header::file_names): Change to private field renamed as + m_file_names and introduce a new accessor method. + (line_header::file_names_size): New method. + (line_header::include_dirs): Change to private field and rename as + m_include_dirs. + (dw2_get_file_names_reader): Define local var at a smaller scope and + reflect API change. + (dwarf2_cu::setup_type_unit_groups): Reflect API change. + (process_structure_scope): Likewise. + (line_header::add_include_dir): Change message and reflect renaming. + (line_header::add_file_name): Likewise. + (read_formatted_entries): Handle DW_FORM_data16. + (dwarf_decode_line_header): Fix line header length calculation. + (psymtab_include_file_name): Change comment and API. + (lnp_state_machine::m_file): Update comment and reflect type change. + (lnp_state_machine::record_line): Reflect type change. + (dwarf_decode_lines): Reflect API change. + (file_file_name): Likewise. + (file_full_name): Likewise. + +2019-10-21 Andrew Burgess + + * objfiles.c (sort_cmp): Ensure that !(a < a) holds true. + +2019-10-21 Tom Tromey + + * tui/tui-winsource.h (tui_exec_info_content): Remove typedef. + +2019-10-21 Tom Tromey + + * configure.ac (nm.h): Conditionally create nm.h link. Subst + NM_H. Use AC_CONFIG_LINKS. + * configure: Rebuild. + * Makefile.in (NM_H): New variable. + (generated_files): Add NM_H. Remove gcore. + (nm.h, stamp-nmh): New targets. + +2019-10-20 Tom Tromey + + * objfiles.h (unlink_objfile, put_objfile_before): Don't declare. + * objfiles.c (unlink_objfile): Move earlier. Now static. Remove + obsolete comment. + (put_objfile_before): Now static. + +2019-10-19 Simon Marchi + + * gdbsupport/common-utils.h (startswith): Change return type to + bool. + +2019-10-19 Christian Biesinger + + * bcache.c (bcache::print_statistics): Use std::sort instead of qsort. + * breakpoint.c (bp_locations_compare): Rename to... + (bp_location_is_less_than): ...this, and change to std::sort semantics. + (update_global_location_list): Use std::sort instead of qsort. + * buildsym.c (compare_line_numbers): Rename to... + (lte_is_less_than): ...this, and change to std::sort semantics. + (buildsym_compunit::end_symtab_with_blockvector): Use std::sort + instead of qsort. + * disasm.c (compare_lines): Rename to... + (line_is_less_than): ...this, and change to std::sort semantics. + (do_mixed_source_and_assembly_deprecated): Call std::sort instead + of qsort. + * dwarf2-frame.c (qsort_fde_cmp): Rename to... + (fde_is_less_than): ...this, and change to std::sort semantics. + (dwarf2_build_frame_info): Call std::sort instead of qsort. + * mdebugread.c (compare_blocks): + (block_is_less_than): ...this, and change to std::sort semantics. + (sort_blocks): Call std::sort instead of qsort. + * objfiles.c (qsort_cmp): Rename to... + (sort_cmp): ...this, and change to std::sort semantics. + (update_section_map): Call std::sort instead of qsort. + * remote.c (compare_pnums): Remove. + (map_regcache_remote_table): Call std::sort instead of qsort. + * utils.c (compare_positive_ints): Remove. + * utils.h (compare_positive_ints): Remove. + * xcoffread.c (compare_lte): Remove. + (arrange_linetable): Call std::sort instead of qsort. + +2019-10-19 Sergio Durigan Junior + + * symfile.c (init_entry_point_info): Fix typo. + * i386-darwin-tdep.c (darwin_dwarf_signal_frame_p): Fix typo. + 2019-10-18 Tom de Vries * aarch64-tdep.c: Fix typos in comments.