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