gdb: use bfd_get_section_contents to read section contents in is_linked_with_cygwin_dll
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 65225a286a448c8003d06493a73609f9c0aa2b30..e93725129d57caaac548883c05820e86e6de7f81 100644 (file)
@@ -1,3 +1,141 @@
+2020-04-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb_bfd.h: Include gdbsupport/byte-vector.h.
+       (gdb_bfd_get_full_section_contents): New declaration.
+       * gdb_bfd.c (gdb_bfd_get_full_section_contents): New function.
+       * windows-tdep.c (is_linked_with_cygwin_dll): Use
+       gdb_bfd_get_full_section_contents.
+
+2020-04-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * exec.c (build_section_table): Replace internal_error with
+       gdb_assert.
+       (section_table_xfer_memory_partial): Likewise.
+       * mdebugread.c (parse_partial_symbols): Likewise.
+       * psymtab.c (lookup_partial_symbol): Likewise.
+       * utils.c (wrap_here): Likewise.
+
+2020-04-02  Tom Tromey  <tromey@adacore.com>
+
+       * f-lang.c (build_fortran_types): Use arch_type to initialize
+       builtin_complex_s32 in the TYPE_CODE_ERROR case.
+
+2020-04-02  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/read.c (partial_die_info::read): Do not create a vector
+       of attributes.
+
+2020-04-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+           Bernd Edlinger <bernd.edlinger@hotmail.de>
+           Tom Tromey  <tromey@adacore.com>
+
+       * buildsym.c (buildsym_compunit::record_line): Remove
+       deduplication code.
+
+2020-04-02  Tom de Vries  <tdevries@suse.de>
+
+       PR ada/24671
+       * dwarf2/read.c (dw2_map_matching_symbols): Handle -readnow.
+
+2020-04-02  Tom de Vries  <tdevries@suse.de>
+
+       * dwarf2/read.c (dwarf2_gdb_index_functions,
+       dwarf2_debug_names_functions): Init lookup_global_symbol_language with
+       NULL.
+       * psymtab.c (psym_lookup_global_symbol_language): New function.
+       (psym_functions): Init psym_lookup_global_symbol_language with
+       psym_lookup_global_symbol_language.
+       * symfile-debug.c (debug_sym_quick_functions): Init
+       lookup_global_symbol_language with NULL.
+       * symfile.c (set_initial_language): Remove fixme comment.
+       * symfile.h (struct quick_symbol_functions): Add
+       lookup_global_symbol_language.
+       * symtab.c (find_quick_global_symbol_language): New function.
+       (find_main_name): Use find_quick_global_symbol_language.
+
+2020-04-01  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * windows-tdep.c (is_linked_with_cygwin_dll): Fix style.
+
+2020-04-01  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * buildsym.c (record_line): Fix undefined behavior and preserve
+       lines at eof.
+
+2020-04-01  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * buildsym.c (record_line): Fix the resizing condition.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * value.h (value_literal_complex): Add comment.
+       * valops.c (value_literal_complex): Refer to value.h.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * c-exp.y (FLOAT_KEYWORD, COMPLEX): New tokens.
+       (scalar_type): New rule, from typebase.
+       (typebase): Use scalar_type.  Recognize complex types.
+       (field_name): Handle FLOAT_KEYWORD.
+       (ident_tokens): Add _Complex and __complex__.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       PR exp/25299:
+       * valarith.c (promotion_type, complex_binop): New functions.
+       (scalar_binop): Handle complex numbers.  Use promotion_type.
+       (value_pos, value_neg, value_complement): Handle complex numbers.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * c-exp.y (COMPLEX_INT, COMPLEX_FLOAT): New tokens.
+       (exp) <COMPLEX_INT, COMPLEX_FLOAT>: New rules.
+       (parse_number): Handle complex numbers.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * c-valprint.c (c_decorations): Change complex suffix to "i".
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * valprint.c (generic_value_print_complex): Use accessors.
+       * value.h (value_real_part, value_imaginary_part): Declare.
+       * valops.c (value_real_part, value_imaginary_part): New
+       functions.
+       * value.c (creal_internal_fn, cimag_internal_fn): Use accessors.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * stabsread.c (rs6000_builtin_type, read_sun_floating_type)
+       (read_range_type): Update.
+       * mdebugread.c (basic_type): Update.
+       * go-lang.c (build_go_types): Use init_complex_type.
+       * gdbtypes.h (struct main_type) <complex_type>: New member.
+       (init_complex_type): Update.
+       (arch_complex_type): Don't declare.
+       * gdbtypes.c (init_complex_type): Remove "objfile" parameter.
+       Make name if none given.  Use alloc_type_copy.  Look for cached
+       complex type.
+       (arch_complex_type): Remove.
+       (gdbtypes_post_init): Use init_complex_type.
+       * f-lang.c (build_fortran_types): Use init_complex_type.
+       * dwarf2/read.c (read_base_type): Update.
+       * d-lang.c (build_d_types): Use init_complex_type.
+       * ctfread.c (read_base_type): Update.
+
+2020-04-01  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * infrun.c (stop_all_threads): Update assertion, plus when
+       stopping threads, take into account that we might be trying
+       to stop an all-stop target.
+       (stop_waiting): Call 'stop_all_threads' if there exists a
+       non-stop target.
+
+2020-04-01  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * target.h (exists_non_stop_target): New function declaration.
+       * target.c (exists_non_stop_target): New function.
+
 2020-04-01  Hannes Domani  <ssbssa@yahoo.de>
 
        PR gdb/24789
This page took 0.024677 seconds and 4 git commands to generate.