gdb: Have 'maint info sections' print all sections again
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 08615f462e118842df233bf5d415c707c07f1dbe..4158161393e3472ecf88904a6388f9e55abafd1c 100644 (file)
@@ -1,3 +1,249 @@
+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
This page took 0.026731 seconds and 4 git commands to generate.