Refactor get_init_files to use std::string
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 388f5ebe9290eb16d01513239636a13626a7b796..27eae1d400b3c3d61e8bb6a1c2fc88127131c1d6 100644 (file)
@@ -1,3 +1,272 @@
+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,
This page took 0.030715 seconds and 4 git commands to generate.