Remove some explicit memory management from dwarf2read.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5edb1c4dc38d57b43b4ffa9ad6dfceb6eb67993f..ab9aa9fbd69d9cd35857dba945d5bb689937058b 100644 (file)
@@ -1,3 +1,124 @@
+2020-01-08  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2read.c (add_partial_symbol): Use unique_xmalloc_ptr.
+       (dwarf2_compute_name, open_dwo_file): Likewise.
+       (process_enumeration_scope): Use std::vector.
+       (guess_partial_die_structure_name): Use unique_xmalloc_ptr.
+       (partial_die_info::fixup, dwarf2_start_subfile)
+       (guess_full_die_structure_name, dwarf2_name): Likewise.
+       (determine_prefix): Update.
+       (guess_full_die_structure_name): Make return type const.
+       (partial_die_full_name): Return unique_xmalloc_ptr.
+       (DW_FIELD_ALLOC_CHUNK): Remove.
+
+2020-01-07  Tom Tromey  <tromey@adacore.com>
+
+       PR build/24937:
+       * stap-probe.c (class stap_static_probe_ops): Add constructor.
+
+2020-01-02  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * cli/cli-style.c: Set cli_styling to 'true' in the Cygwin build.
+
+2020-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c (print_frame_info): Move disassemble_next_line code
+       inside source_print block.
+
+2020-01-06  Eli Zaretskii  <eliz@gnu.org>
+
+       * gdbsupport/gdb_wait.c: Include <signal.h> instead of
+       gdb/signals.h, as we are now using native signal symbols.
+
+2020-01-06  Shahab Vahedi  <shahab@synopsys.com>
+
+       * tui/tui-disasm.c (tui_disasm_window::addr_is_displayed): Avoid
+       overflow by an early check of content vs threshold.
+        * tui/tui-source.c (tui_source_window::line_is_displayed):
+       Likewise.
+
+2020-01-06  Eli Zaretskii  <eliz@gnu.org>
+
+       * NEWS: Mention the recent fix of $_exitsignal on MS-Windows.
+
+2020-01-02  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * coff-pe-read.c (read_pe_exported_syms): Don't try to read the
+       export table if no section contains it's RVA.
+
+2020-01-06  Eli Zaretskii  <eliz@gnu.org>
+
+       * windows-tdep.c: Fix a typo in WINDOWS_SIGABRT.
+
+2020-01-06  Hannes Domani  <ssbssa@yahoo.de>
+
+       * source.c (print_source_lines_base): Set last_line_listed.
+
+2020-01-06  Shahab Vahedi  <shahab@synopsys.com>
+
+       * tui/tui-disasm.c: Remove trailing spaces.
+
+2020-01-06  Eli Zaretskii  <eliz@gnu.org>
+           Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (COMMON_SFILES): Add gdbsupport/gdb_wait.c.
+       * windows-tdep.c: New enumeration of WINDOWS_SIG* signals.
+       (windows_gdb_signal_to_target): New function, uses the above
+       enumeration to convert GDB internal signal codes to equivalent
+       Windows codes.
+       (windows_init_abi): Call set_gdbarch_gdb_signal_to_target.
+       * windows-nat.c: Include "gdb_wait.h".
+       (get_windows_debug_event): Extract the fatal exception from the
+       exit status and convert to the equivalent Posix signal number.
+       * cli/cli-cmds.c (exit_status_set_internal_vars): Account for the
+       possibility that WTERMSIG returns GDB_SIGNAL_UNKNOWN.
+       * gdbsupport/gdb_wait.c: New file, implements
+       windows_status_to_termsig.
+       * gdbsupport/gdb_wait.h (WIFEXITED, WIFSIGNALED, WEXITSTATUS)
+       (WTERMSIG) [__MINGW32__]: Separate definitions for MinGW.
+
+2020-01-05  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-layout.c (tui_add_win_to_layout): Use tui_set_layout not
+       show_layout.
+
+2020-01-05  Luis Machado  <luis.machado@linaro.org>
+
+       * aarch64-linux-nat.c
+       (aarch64_linux_nat_target::thread_architecture): Use bfd_arch_aarch64
+       and bfd_mach_aarch64.
+
+2020-01-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * ui-file.c (stdio_file::can_emit_style_escape)
+       (tee_file::can_emit_style_escape): Ensure style is used also on
+       gdb_stderr when gdb_stderr is a tty supporting styling, similarly
+       to gdb_stdout.
+       * main.c (set_gdb_data_directory): Use file style to output the
+       warning that the given pathname is not a directory.
+       * top.c (show_history_filename, gdb_safe_append_history)
+       (show_gdb_datadir): Use file style.
+
+2020-01-03  Hannes Domani  <ssbssa@yahoo.de>
+
+       * solib-target.c (struct lm_info_target):
+       Change offsets to be a unique_xmalloc_ptr.
+       (solib_target_relocate_section_addresses): Update.
+
+2020-01-03  Hannes Domani  <ssbssa@yahoo.de>
+
+       * windows-nat.c (windows_clear_solib): Free so_list linked list.
+
+2020-01-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * MAINTAINERS (Write After Approval): Add myself.
+
+2020-01-02  Luis Machado  <luis.machado@linaro.org>
+
+       * proc-service.c (get_ps_regcache): Remove reference to obsolete
+       Cell BE architecture.
+       * target.h (struct target_ops) <thread_architecture>: Likewise.
+
 2020-01-01  Hannes Domani  <ssbssa@yahoo.de>
 
        * Makefile.in: Use INSTALL_PROGRAM_ENV.
This page took 0.039373 seconds and 4 git commands to generate.