]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
gdb: Check for nullptr when computing srcpath
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 1f604f76ee858e66f40e3f6c278f495691a6fffe..ff2172c28766013c8232629694e105c050824c2a 100644 (file)
@@ -1,3 +1,143 @@
+2020-02-27  Aaron Merey  <amerey@redhat.com>
+
+       * source.c (open_source_file): Check for nullptr when computing
+       srcpath.
+
+2020-02-27  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/read.c (struct field_info) <nfields>: Now a method, not a
+       member.
+       (dwarf2_add_field): Don't update nfields.
+       (dwarf2_attach_fields_to_type, process_structure_scope): Update.
+
+2020-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdbtypes.c (create_array_type_with_stride): Use std::abs not
+       abs.
+
+2020-02-26  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.c (struct dwarf2_include_psymtab): New.
+       (dwarf2_create_include_psymtab): Use dwarf2_include_psymtab.
+       (dwarf2_psymtab::expand_psymtab, dwarf2_psymtab::readin_p)
+       (dwarf2_psymtab::get_compunit_symtab): Remove null checks for
+       per_cu_data.
+
+2020-02-26  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/index-write.c (psym_index_map): Change type.
+       (add_address_entry_worker, write_one_signatured_type)
+       (recursively_count_psymbols, recursively_write_psymbols)
+       (class debug_names, psyms_seen_size, write_gdbindex)
+       (write_debug_names): Use partial_symtab, not dwarf2_psymtab.
+
+2020-02-26  Aaron Merey  <amerey@redhat.com>
+
+       * Makefile.in: Handle optional debuginfod support.
+       * NEWS: Update.
+       * README: Add --with-debuginfod summary.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * configure.ac: Handle optional debuginfod support.
+       * debuginfod-support.c: debuginfod helper functions.
+       * debuginfod-support.h: Ditto.
+       * doc/gdb.texinfo: Add --with-debuginfod to configure options
+       summary.
+       * dwarf2/read.c (dwarf2_get_dwz_file): Query debuginfod servers
+       when a dwz file cannot be found.
+       * elfread.c (elf_symfile_read): Query debuginfod servers when a
+       debuginfo file cannot be found.
+       * source.c (open_source_file): Query debuginfod servers when a
+       source file cannot be found.
+       * top.c (print_gdb_configuration): Include
+       --{with,without}-debuginfod in the output.
+
+2020-02-26  Jérémie Galarneau  <jeremie.galarneau@efficios.com>
+
+       * thread.c (thr_try_catch_cmd): Print thread name.
+
+2020-02-26  Simon Marchi  <simon.marchi@efficios.com>
+
+       * dwarf2/loc.h (dwarf2_fetch_die_loc_sect_off,
+       dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
+       dwarf2_fetch_die_type_sect_off): Move to...
+       * dwarf2/read.h (dwarf2_fetch_die_loc_sect_off,
+       dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
+       dwarf2_fetch_die_type_sect_off): ... here.
+       * dwarf2/read.c (dwarf2_fetch_die_loc_sect_off,
+       dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
+       dwarf2_fetch_die_type_sect_off): Move doc to header file.
+
+2020-02-26  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/25603
+       * symfile.c (set_initial_language): Exit-early if
+       language_mode == language_mode_manual.
+
+2020-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/loc.h (dwarf2_read_addr_index): Move...
+       * dwarf2/read.h (dwarf2_read_addr_index): ... here.
+       * dwarf2/read.c (dwarf2_read_addr_index): Move doc to header.
+
+2020-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdbtypes.c (create_array_type_with_stride): Handle negative
+       array strides.
+       * valarith.c (value_subscripted_rvalue): Likewise.
+
+2020-02-25  Luis Machado  <luis.machado@linaro.org>
+
+       * aarch64-tdep.c (aarch64_vnv_type): Fix comment typo.
+
+2020-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * loc.h (dwarf2_get_die_type): Move to...
+       * read.h (dwarf2_get_die_type): ... here.
+       * read.c (dwarf2_get_die_type): Move doc to header.
+
+2020-02-25  Joel Brobecker  <brobecker@adacore.com>
+
+       * copypright.py (EXCLUDE_LIST): Add 'gnulib/config.in' and
+       'gnulib/Makefile.in' to the list.
+
+2020-02-24  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.h (struct type_unit_unshareable) <num_symtabs>:
+       Remove.
+       * dwarf2/read.c (dwarf2_cu::setup_type_unit_groups): Use
+       XOBNEWVEC.
+
+2020-02-24  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/read.h (struct dwarf2_per_cu_data) <type_unit_group_p>:
+       New method.
+       * dwarf2/read.c (IS_TYPE_UNIT_GROUP): Remove.
+       (dw2_do_instantiate_symtab, dw2_get_file_names)
+       (build_type_psymtab_dependencies, load_full_type_unit): Update.
+
+2020-02-24  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (dwarf2_build_psymtabs_hard): Use
+       make_scoped_restore.
+       (dwarf2_psymtab::read_symtab): Don't clear
+       reading_partial_symbols.
+
+2020-02-24  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/25592
+       * stack.c (iterate_over_block_locals): Handle LOC_CONST.
+
+2020-02-24  Tom de Vries  <tdevries@suse.de>
+
+       * tui/tui-layout.c (_initialize_tui_layout): Fix help messages for
+       commands layout next/prev/regs.
+
+2020-02-22  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2/loc.h (dwarf2_compile_expr_to_ax): Don't declare.
+       * dwarf2/loc.c (dwarf2_compile_expr_to_ax): Now static.
+
 2020-02-22  Tom Tromey  <tom@tromey.com>
 
        * tui/tui-data.h (TUI_DISASM_WIN): Cast to tui_disasm_window.