[tdep/s390] Fix Wmaybe-uninitialized in s390_displaced_step_fixup
[binutils-gdb.git] / gdb / ChangeLog
index 2c7506e0d44e978a854d0bd5f9e4e58611fafe05..4d4d62e302a33903bee745d916af02b0b7737bf9 100644 (file)
@@ -1,3 +1,200 @@
+2020-07-29  Tom de Vries  <tdevries@suse.de>
+
+       PR tdep/26280
+       * s390-tdep.c (s390_displaced_step_fixup): Fix Wmaybe-uninitialized.
+
+2020-07-28  Tom Tromey  <tromey@adacore.com>
+
+       PR symtab/26270:
+       * symtab.h (find_pc_partial_function_sym): Declare.
+       * cli/cli-cmds.c (disassemble_command): Use
+       find_pc_partial_function_sym.  Check asm_demangle.
+       * blockframe.c (cache_pc_function_sym): New global.
+       (cache_pc_function_name): Remove.
+       (clear_pc_function_cache): Update.
+       (find_pc_partial_function_sym): New function, from
+       find_pc_partial_function.
+       (find_pc_partial_function): Rewrite using
+       find_pc_partial_function_sym.
+
+2020-07-28  Tom Tromey  <tromey@adacore.com>
+
+       * cli/cli-cmds.c (_initialize_cli_cmds): Rearrange "disassemble"
+       help.  Add usage.
+
+2020-07-28  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/expr.c (dwarf_expr_context::execute_stack_op)
+       <DW_OP_GNU_variable_value>: Cast to address type.
+
+2020-07-28  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.h (nbsd_nat_target::xfer_partial): New declaration.
+       * nbsd-nat.c (nbsd_nat_target::xfer_partial): New function.
+       * nbsd-tdep.c (nbsd_gdbarch_data_handle, struct nbsd_gdbarch_data)
+       (init_nbsd_gdbarch_data, get_nbsd_gdbarch_data)
+       (nbsd_get_siginfo_type): New.
+       (nbsd_init_abi): Install gdbarch "get_siginfo_type" method.
+       (_initialize_nbsd_tdep): New.
+
+2020-07-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/26301
+       * configure: Regenerated.
+
+2020-07-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/26301
+       * configure: Regenerated.
+
+2020-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * python/py-frame.c: Remove 'user-regs.h' include.
+       (frapy_read_register): Rewrite to make use of
+       gdbpy_parse_register_id.
+       * python/py-registers.c (gdbpy_parse_register_id): New function,
+       moved here from python/py-unwind.c.  Updated the return type, and
+       also accepts register descriptor objects.
+       * python/py-unwind.c: Remove 'user-regs.h' include.
+       (pyuw_parse_register_id): Moved to python/py-registers.c.
+       (unwind_infopy_add_saved_register): Update to use
+       gdbpy_parse_register_id.
+       (pending_framepy_read_register): Likewise.
+       * python/python-internal.h (gdbpy_parse_register_id): Declare.
+
+2020-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * python/py-registers.c: Add 'user-regs.h' include.
+       (register_descriptor_iter_find): New function.
+       (register_descriptor_iterator_object_methods): New static global
+       methods array.
+       (register_descriptor_iterator_object_type): Add pointer to methods
+       array.
+
+2020-07-27  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.h: Include <osreldate.h>.  Define USE_SIGTRAP_SIGINFO
+       for all architectures on FreeBSD 11.3 and later.
+
+2020-07-27  Tom Tromey  <tromey@adacore.com>
+
+       * gcore.h (load_corefile): Don't declare.
+
+2020-07-27  Tom de Vries  <tdevries@suse.de>
+
+       * configure.ac: Fix sys/sockets.h -> sys/socket.h typo.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2020-07-26  Eli Zaretskii  <eliz@gnu.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Check for sys/socket.h and
+       ws2tcpip.h.  When checking whether socklen_t type is defined, use
+       ws2tcpip.h if it is available and sys/socket.h isn't.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2020-07-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR fortran/23051
+       PR fortran/26139
+       * valops.c (value_ind): Pass address to
+       readjust_indirect_value_type.
+       * value.c (readjust_indirect_value_type): Make parameter
+       non-const, and add extra address parameter.  Resolve original type
+       before using it.
+       * value.h (readjust_indirect_value_type): Update function
+       signature and comment.
+
+2020-07-25  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/26243
+       * dwarf2/read.c (lnp_state_machine::record_line): Ignore zero line
+       entries.
+
+2020-07-24  Aaron Merey  <amerey@redhat.com>
+
+       * Makefile.in: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS.
+       * configure: Rebuild.
+
+2020-07-23  Kevin Buettner  <kevinb@redhat.com>
+
+       PR corefiles/26294
+       * corelow.c (_initialize_corelow): Add period to help text
+       for "maintenance print core-file-backed-mappings".
+
+2020-07-23  Pedro Alves  <pedro@palves.net>
+
+       * frame-unwind.c (frame_unwind_try_unwinder): On exception, don't
+       touch THIS_CACHE/THIS_FRAME if the frame cache was cleared
+       meanwhile.
+       * frame.c (frame_cache_generation, get_frame_cache_generation):
+       New.
+       (reinit_frame_cache): Increment FRAME_CACHE_GENERATION.
+       (get_prev_frame_if_no_cycle): On exception, don't touch
+       PREV_FRAME/THIS_FRAME if the frame cache was cleared meanwhile.
+       * frame.h (get_frame_cache_generation): Declare.
+
+2020-07-23  Tom de Vries  <tdevries@suse.de>
+
+       PR tui/26282
+       * tui/tui-winsource.h (struct tui_source_windows::tui_source_windows):
+       New default constructor.
+
+2020-07-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * disasm.c (do_mixed_source_and_assembly_deprecated): Don't
+       exclude non-statement entries.
+
+2020-07-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * NEWS (New commands): Mention new command
+       "maintenance print core-file-backed-mappings".
+
+2020-07-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * corelow.c (gdbcmd.h): Include.
+       (core_target::info_proc_mappings): New method.
+       (get_current_core_target): New function.
+       (maintenance_print_core_file_backed_mappings): New function.
+       (_initialize_corelow): Add core-file-backed-mappings to
+       "maint print" commands.
+
+2020-07-22  Kevin Buettner  <kevinb@redhat.com>
+    
+       * linux-tdep.c (dump_note_entry_p): New function.
+       (linux_dump_mapping_p_ftype): New typedef.
+       (linux_find_memory_regions_full): Add new parameter,
+       should_dump_mapping_p.
+       (linux_find_memory_regions): Adjust call to
+       linux_find_memory_regions_full.
+       (linux_make_mappings_core_file_notes): Use dump_note_entry_p in
+       call to linux_find_memory_regions_full.
+
+2020-07-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * corelow.c (solist.h, unordered_map): Include.
+       (class core_target): Add field m_core_file_mappings and
+       method build_file_mappings.
+       (core_target::core_target): Call build_file_mappings.
+       (core_target::~core_target): Free memory associated with
+       m_core_file_mappings.
+       (core_target::build_file_mappings): New method.
+       (core_target::xfer_partial): Use m_core_file_mappings
+       for memory transfers.
+       * linux-tdep.c (linux_read_core_file_mappings): New
+       function.
+       (linux_core_info_proc_mappings): Rewrite to use
+       linux_read_core_file_mappings.
+       (linux_init_abi): Register linux_read_core_file_mappings.
+
+2020-07-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * arch-utils.c (default_read_core_file_mappings): New function.
+       * arch-utils.c (default_read_core_file_mappings): Declare.
+       * gdbarch.sh (read_core_file_mappings): New gdbarch method.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
 2020-07-22  Kevin Buettner  <kevinb@redhat.com>
 
        PR corefiles/25631