Sync readline/ to version 7.0 alpha
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2f2ec28a619361f95fad86df8fcdfe2c69480d9f..732e026c37b15012b8ff1a7ca8060e8248503e42 100644 (file)
@@ -1,3 +1,253 @@
+2015-07-25  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * completer.c (gdb_printable_part): Sync with readline function
+       it is based off of.
+
+2015-07-24  Pedro Alves  <palves@redhat.com>
+
+       * s390-linux-nat.c (fetch_regs, store_regs, fetch_fpregs)
+       (s390_stopped_by_watchpoint, s390_prepare_to_resume): Pass 0 as
+       forth argument to ptrace PTRACE_PEEKUSR_AREA/PTRACE_POKEUSR_AREA.
+
+2015-07-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/18717
+       * linux-nat.c (linux_nat_filter_event): Don't assert that the lwp
+       is resumed, and extend the debug log.
+
+2015-07-24  Pedro Alves  <palves@redhat.com>
+
+       * fork-child.c (fork_inferior): Print argv[0] instead of exec_file.
+
+2015-07-24  Pedro Alves  <palves@redhat.com>
+
+       * aarch64-linux-nat.c: Include nat/gdb_ptrace.h instead of
+       sys/ptrace.h.
+       * alpha-linux-nat.c: Likewise.
+       * amd64-linux-nat.c: Likewise.
+       * arm-linux-nat.c: Likewise.
+       * hppa-linux-nat.c: Likewise.
+       * i386-linux-nat.c: Likewise.
+       * ia64-linux-nat.c: Likewise.
+       * linux-fork.c: Likewise.
+       * linux-nat.c: Likewise.
+       * m32r-linux-nat.c: Likewise.
+       * m68klinux-nat.c: Likewise.
+       * mips-linux-nat.c: Likewise.
+       * nat/linux-btrace.c: Likewise.
+       * nat/linux-ptrace.c: Likewise.
+       * nat/linux-ptrace.h
+       * nat/mips-linux-watch.c: Likewise.
+       * nat/x86-linux-dregs.c: Likewise.
+       * ppc-linux-nat.c: Likewise.
+       * s390-linux-nat.c: Likewise.
+       * spu-linux-nat.c: Likewise.
+       * tilegx-linux-nat.c: Likewise.
+       * x86-linux-nat.c: Likewise.
+       * xtensa-linux-nat.c: Likewise.
+
+2015-07-24  Pedro Alves  <palves@redhat.com>
+
+       * ptrace.m4 (ptrace tests): Test in C++ mode.  Try with 'enum
+       __ptrace_request as first parameter type instead of int.
+       (PTRACE_TYPE_ARG1): Define.
+       * nat/gdb_ptrace.h [!PTRACE_TYPE_ARG5] (ptrace): Define as wrapper
+       that casts first argument to PTRACE_TYPE_ARG1.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2015-07-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb_ptrace.h: Move ...
+       * nat/gdb_ptrace.h: ... here.
+       * inf-ptrace.c: Adjust.
+
+2015-07-24  Pedro Alves  <palves@redhat.com>
+
+       * acinclude.m4: Include ptrace.m4.
+       * configure.ac: Call GDB_AC_PTRACE and move ptrace checks ...
+       * ptrace.m4: ... to this new file.
+
+2015-07-23  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf2_per_cu_data): Add comment.
+       (load_cu): Handle dummy CUs.
+       (dw2_do_instantiate_symtab, process_queuef): Ditto.
+       (dwarf2_fetch_die_loc_sect_off, dwarf2_fetch_constant_bytes): Ditto.
+
+2015-07-23  Ciro Santilli  <ciro.santilli@gmail.com>  (tiny patch)
+
+       * py-linetable.c (ltpy_get_all_source_lines): Adjust function
+       documentation to say that it returns a list rather than
+       a FrozenSet.
+       (linetable_object_methods): Update the docstring of the
+       "source_line" entry.
+
+2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdbtypes.c (resolve_dynamic_array): Pass the peeled element
+       type to the recursive call instead of the original (maybe
+       TYPE_CODE_TYPEDEF) type.
+
+2015-07-23  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): If
+       TYPE is watchpoint, return zero if aarch64_num_wp_regs is zero.
+       If TYPE is breakpoint, return zero if arch64_num_bp_regs is zero.
+
+2015-07-21  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
+       Move it to nat/aarch64-linux-hw-point.c.
+       (aarch64_linux_child_post_startup_inferior): Update.
+       * nat/aarch64-linux-hw-point.c (aarch64_linux_get_debug_reg_capacity):
+       New function.
+       * nat/aarch64-linux-hw-point.h (aarch64_linux_get_debug_reg_capacity):
+       Declare it.
+
+2015-07-21  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * common/btrace-common.c (btrace_data_append): Change case label.
+
+2015-07-20  Yao Qi  <yao.qi@linaro.org>
+
+       * nat/aarch64-linux-hw-point.c (aarch64_handle_unaligned_watchpoint):
+       Re-indent the code.
+       * nat/aarch64-linux-hw-point.h: Use ULONGEST rather than
+       "unsigned long long".
+
+2015-07-18  Kevin Buettner  <kevinb@redhat.com>
+
+       * dwarf2read.c (dwarf2_locate_sections): Allow has_section_at_zero
+       to be set for SEC_ALLOC sections too.
+
+2015-07-17  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Add
+       nat/aarch64-linux-hw-point.h.
+       (aarch64-linux-hw-point.o): New rule.
+       * nat/aarch64-linux-hw-point.h: New file.
+       * nat/aarch64-linux-hw-point.c: New file.
+       * aarch64-linux-nat.c: Include nat/aarch64-linux-hw-point.h.
+       (AARCH64_HBP_MAX_NUM): Move to nat/aarch64-linux-hw-point.h.
+       (AARCH64_HWP_MAX_NUM, AARCH64_HBP_ALIGNMENT): Likewise.
+       (AARCH64_HWP_ALIGNMENT): Likewise.
+       (AARCH64_HWP_MAX_LEN_PER_REG): Likewise.
+       (AARCH64_DEBUG_NUM_SLOTS, AARCH64_DEBUG_ARCH): Likewise.
+       (AARCH64_DEBUG_ARCH_V8, DR_MARK_ALL_CHANGED): Likewise.
+       (DR_MARK_N_CHANGED, DR_CLEAR_CHANGED): Likewise.
+       (DR_HAS_CHANGED, DR_N_HAS_CHANGE): Likewise.
+       (aarch64_num_bp_regs, aarch64_num_wp_regs): Likewise.
+       (struct aarch64_debug_reg_state): Likewise.
+       (struct arch_lwp_info): Likewise.
+       (aarch64_linux_set_debug_regs): Likewise.
+       (aarch64_notify_debug_reg_change): Remove static.
+       (aarch64_align_watchpoint): Likewise.
+       (DR_CONTROL_ENABLED, DR_CONTROL_LENGTH): Likewise.
+       (aarch64_watchpoint_length): Likewise.
+       (aarch64_point_encode_ctrl_reg): Likewise
+       (aarch64_point_is_aligned): Likewise.
+       (aarch64_dr_state_insert_one_point): Likewise.
+       (aarch64_dr_state_remove_one_point): Likewise.
+       (aarch64_handle_breakpoint): Likewise.
+       (aarch64_handle_aligned_watchpoint): Likewise.
+       (aarch64_handle_unaligned_watchpoint): Likewise.
+       (aarch64_handle_watchpoint): Likewise.
+       * config/aarch64/linux.mh (NAT_FILE): Add
+       aarch64-linux-hw-point.o.
+
+2015-07-17  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_handle_breakpoint): Add argument
+       state and don't call aarch64_get_debug_reg_state.  All callers
+       update.
+       (aarch64_linux_insert_hw_breakpoint): Call
+       aarch64_get_debug_reg_state earlier.
+       (aarch64_linux_remove_hw_breakpoint): Likewise.
+       (aarch64_handle_aligned_watchpoint): Add argument state and
+       don't call aarch64_get_debug_reg_state.  All callers update.
+       (aarch64_handle_unaligned_watchpoint): Likewise.
+       (aarch64_handle_watchpoint): Add argument state.
+       (aarch64_linux_insert_watchpoint): Call aarch64_get_debug_reg_state
+       earlier.
+       (aarch64_linux_remove_watchpoint): Likewise.
+
+2015-07-17  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_show_debug_reg_state): Use
+       debug_printf.
+       (aarch64_handle_unaligned_watchpoint): Likewise.
+
+2015-07-17  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_dr_state_insert_one_point): Change
+       argument type's type to 'enum target_hw_bp_type'.
+       (aarch64_dr_state_remove_one_point): Likewise.
+       (aarch64_handle_breakpoint): Likewise.
+       (aarch64_linux_insert_hw_breakpoint): Likewise.
+       (aarch64_linux_remove_hw_breakpoint): Likewise.
+       (aarch64_handle_aligned_watchpoint): Likewise.
+
+2015-07-17  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): Call
+       ptid_get_pid instead of get_thread_id.
+
+2015-07-17  Yao Qi  <yao.qi@linaro.org>
+
+       * remote.c (get_current_thread): Initialise ptid to null_ptid.
+       (add_current_inferior_and_thread): Don't initialise ptid.
+
+2015-07-16  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (aarch64_pseudo_read_value): Mark S register as
+       unavailable if invalid.
+
+2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Revert the previous 6 commits:
+       Create empty nat/linux-maps.[ch] and common/target-utils.[ch].
+       Move gdb_regex* to common/
+       Prepare linux_find_memory_regions_full & co. for move
+       Move linux_find_memory_regions_full & co.
+       gdbserver build-id attribute generator
+       Validate symbol file using build-id
+
+2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Validate symbol file using build-id.
+       * NEWS (Changes since GDB 7.10): Add 'set validate-build-id'
+       and 'show validate-build-id'.  Add build-id attribute.
+       * solib-darwin.c (_initialize_darwin_solib): Assign validate value.
+       * solib-dsbt.c (_initialize_dsbt_solib): Ditto.
+       * solib-frv.c (_initialize_frv_solib): Ditto.
+       * solib-spu.c (set_spu_solib_ops): Ditto.
+       * solib-svr4.c: Include rsp-low.h.
+       (NOTE_GNU_BUILD_ID_NAME): New define.
+       (svr4_validate): New function.
+       (svr4_copy_library_list): Duplicate field build_id.
+       (library_list_start_library): Parse 'build-id' attribute.
+       (svr4_library_attributes): Add 'build-id' attribute.
+       (_initialize_svr4_solib): Assign validate value.
+       * solib-target.c (solib.h): Include.
+       (_initialize_solib_target): Assign validate value.
+       * solib.c (validate_build_id, show_validate_build_id): New.
+       (solib_map_sections): Use ops->validate.
+       (clear_so): Free build_id.
+       (default_solib_validate): New function.
+       (_initialize_solib): Add "validate-build-id".
+       * solib.h (default_solib_validate): New declaration.
+       * solist.h (struct so_list): New fields 'build_idsz' and 'build_id'.
+       (target_so_ops): New field 'validate'.
+
+2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       gdbserver build-id attribute generator.
+       * features/library-list-svr4.dtd (library-list-svr4): New
+       'build-id' attribute.
+
 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
            Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        (rx_frame_this_id): Rename parameter `this_prologue_cache' to
        `this_cache'.
        (rx_frame_prev_register): Rename parameter `this_prologue_cache' to
-       `this_cache'.  Add cases for RX_FRAME_TYPE_EXCEPTION and 
+       `this_cache'.  Add cases for RX_FRAME_TYPE_EXCEPTION and
        RX_FRAME_TYPE_FAST_INTERRUPT.
        (normal_frame_p, exception_frame_p, rx_frame_sniffer_common)
        (rx_frame_sniffer, rx_exception_sniffer): New functions.
 
 2015-03-18  Tristan Gingold  <gingold@adacore.com>
 
-        * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Move
-        redirection code to ...
-        (amd64_windows_frame_decode_insns): ... Here.  Fix in prologue
-        checks.  Fix SAVE_NONVOL operations.  Add debug code and comments.
+       * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Move
+       redirection code to ...
+       (amd64_windows_frame_decode_insns): ... Here.  Fix in prologue
+       checks.  Fix SAVE_NONVOL operations.  Add debug code and comments.
 
 2015-03-18  Gary Benson <gbenson@redhat.com>
 
        * config.in: Regenerate.
        * configure: Regenerate.
        * fbsd-nat.c [!HAVE_KINFO_GETVMMAP] (fbsd_read_mapping): Don't
-        define.
+       define.
        (fbsd_find_memory_regions): Use kinfo_getvmmap to
        enumerate memory regions if present.
 
This page took 0.047358 seconds and 4 git commands to generate.