Mostly trivial enum fixes
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b5b80a39cc61adfe47d2bdb48e7657dde5e2d4e8..a4074568ec948b76b932e5669437d50be5002c70 100644 (file)
@@ -1,3 +1,914 @@
+2015-07-31  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Use enum
+       type or value instead of integer.
+       (aarch64_linux_insert_watchpoint): Likewise.
+       (aarch64_linux_remove_watchpoint): Likewise.
+       * ada-lang.c (ada_op_print_tab): Likewise.
+       * amd64-linux-tdep.c (amd64_canonicalize_syscall): Likewise.
+       (amd64_linux_syscall_record_common): Likewise.
+       * arch-utils.c (target_byte_order_user): Likewise.
+       (default_byte_order): Likewise.
+       * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Likewise.
+       (arm_linux_get_hwbp_type): Likewise.
+       (arm_linux_hw_watchpoint_initialize): Likewise.
+       (arm_linux_insert_watchpoint): Likewise.
+       * arm-linux-tdep.c (arm_canonicalize_syscall): Likewise.
+       (arm_linux_syscall_record): Likewise.
+       * breakpoint.c (update_watchpoint): Likewise.
+       (breakpoint_here_p): Likewise.
+       (bpstat_print): Likewise.
+       (enable_breakpoint_disp): Likewise.
+       * c-lang.c (c_op_print_tab): Likewise.
+       * cli/cli-decode.c (add_info_alias): Likewise.
+       * d-lang.c (d_op_print_tab): Likewise.
+       * eval.c (evaluate_subexp_standard): Likewise.
+       * f-exp.y (dot_ops): Likewise.
+       (f77_keywords): Likewise.
+       * f-lang.c (f_op_print_tab): Likewise.
+       * go-lang.c (go_op_print_tab): Likewise.
+       * guile/scm-breakpoint.c (gdbscm_make_breakpoint): Likewise.
+       * guile/scm-cmd.c (gdbscm_make_command): Likewise.
+       * guile/scm-param.c (gdbscm_make_parameter): Likewise.
+       * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer): Likewise.
+       * guile/scm-string.c (struct scm_to_stringn_data): Likewise.
+       (struct scm_from_stringn_data): Likewise.
+       * i386-linux-tdep.c (i386_canonicalize_syscall): Likewise.
+       * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise.
+       (ia64_linux_remove_watchpoint): Likewise.
+       (ia64_linux_can_use_hw_breakpoint): Likewise.
+       * infrun.c (print_stop_event): Likewise.
+       * jv-lang.c (java_op_print_tab): Likewise.
+       * linux-nat.c (linux_proc_xfer_partial): Likewise.
+       * linux-nat.h (struct lwp_info): Likewise.
+       * linux-thread-db.c (enable_thread_event): Likewise.
+       * m2-lang.c (m2_op_print_tab): Likewise.
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Likewise.
+       (mi_cmd_stack_list_variables): Likewise.
+       * mi/mi-main.c (mi_cmd_trace_frame_collected): Likewise.
+       * mi/mi-out.c (mi_table_begin): Likewise.
+       (mi_table_header): Likewise.
+       * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Likewise.
+       (mips_linux_insert_watchpoint): Likewise.
+       (mips_linux_remove_watchpoint): Likewise.
+       * nat/mips-linux-watch.c (mips_linux_watch_type_to_irw): Likewise.
+       * nat/mips-linux-watch.h (struct mips_watchpoint): Likewise.
+       (mips_linux_watch_type_to_irw): Likewise.
+       * nto-procfs.c (procfs_can_use_hw_breakpoint): Likewise.
+       (procfs_insert_hw_watchpoint): Likewise.
+       (procfs_remove_hw_watchpoint): Likewise.
+       (procfs_hw_watchpoint): Likewise.
+       (procfs_can_use_hw_breakpoint): Likewise.
+       (procfs_remove_hw_watchpoint): Likewise.
+       (procfs_insert_hw_watchpoint): Likewise.
+       * p-lang.c (pascal_op_print_tab): Likewise.
+       * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Likewise.
+       * ppc-linux-tdep.c (ppu2spu_unwind_register): Likewise.
+       * ppc-sysv-tdep.c (get_decimal_float_return_value): Likewise.
+       * procfs.c (procfs_can_use_hw_breakpoint): Likewise.
+       (procfs_insert_watchpoint): Likewise.
+       (procfs_remove_watchpoint): Likewise.
+       * psymtab.c (recursively_search_psymtabs): Likewise.
+       * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Likewise.
+       (m32r_insert_watchpoint): Likewise.
+       * remote-mips.c (mips_can_use_watchpoint): Likewise.
+       (mips_insert_watchpoint): Likewise.
+       (mips_remove_watchpoint): Likewise.
+       * remote.c (watchpoint_to_Z_packet): Likewise.
+       (remote_insert_watchpoint): Likewise.
+       (remote_remove_watchpoint): Likewise.
+       (remote_check_watch_resources): Likewise.
+       * s390-linux-nat.c (s390_insert_watchpoint): Likewise.
+       (s390_remove_watchpoint): Likewise.
+       (s390_can_use_hw_breakpoint): Likewise.
+       * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
+       * spu-linux-nat.c (spu_can_use_hw_breakpoint): Likewise.
+       * target.h (struct target_ops): Likewise.
+       * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
+       * ui-out.c (struct ui_out_hdr): Likewise.
+       (append_header_to_list): Likewise.
+       (get_next_header): Likewise.
+       (verify_field): Likewise.
+       (ui_out_begin): Likewise.
+       (ui_out_field_int): Likewise.
+       (ui_out_field_fmt_int): Likewise.
+       (ui_out_field_skip): Likewise.
+       (ui_out_field_string): Likewise.
+       (ui_out_field_fmt): Likewise.
+       * varobj.c (new_variable): Likewise.
+       * x86-nat.c (x86_insert_watchpoint): Likewise.
+       (x86_remove_watchpoint): Likewise.
+       (x86_can_use_hw_breakpoint): Likewise.
+       * xtensa-tdep.h (struct gdbarch_tdep): Likewise.
+       * inflow.c (enum gdb_has_a_terminal_flag_enum): Add name to
+       previously anonymous enumeration type..
+       * linux-record.h (enum gdb_syscall): Add gdb_sys_no_syscall
+       value.
+       * target-debug.h (target_debug_print_enum_target_hw_bp_type): New.
+       (target_debug_print_enum_bptype): New.
+       * target-delegates.c: Regenerate.
+
+2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-tdep.c (nios2_analyze_prologue): Do what the comment
+       already says and disallow non-stack memory writes in the prologue.
+
+2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-tdep.c (nios2_analyze_prologue): Update comments to
+       reflect how current GCC emits stack overflow checks.  Match
+       both trap and break instructions for backward compatbility.
+       Disallow other trap and break instructions in the prologue.
+
+2015-07-30  Pedro Alves  <palves@redhat.com>
+
+       PR threads/18600
+       * linux-nat.c (wait_lwp): Report to the core when thread group
+       leader exits.
+
+2015-07-30  Pedro Alves  <palves@redhat.com>
+           Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR threads/18600
+       * linux-nat.c (linux_handle_extended_wait): On CLONE event, always
+       mark the new thread as resumed.  Remove STOPPING parameter.
+       (wait_lwp): Adjust call to linux_handle_extended_wait.
+       (linux_nat_filter_event): Adjust call to
+       linux_handle_extended_wait.
+       (resume_stopped_resumed_lwps): Add debug output.
+
+2015-07-30  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * arch-utils.c (default_fast_tracepoint_valid_at): Remove unused
+       isize argument.
+       * arch-utils.h (default_fast_tracepoint_valid_at): Likewise.
+       * breakpoint.c (check_fast_tracepoint_sals): Adjust call to
+       gdbarch_fast_tracepoint_valid_at.
+       * gdbarch.sh (fast_tracepoint_valid_at): Remove isize argument.
+       * gdbarch.h: Regenerate.
+       * gdbarch.c: Regenerate.
+       * i386-tdep.c (i386_fast_tracepoint_valid_at): Remove isize
+       argument.  Do not set it.
+       * remote.c (remote_download_tracepoint): Adjust call to
+       gdbarch_fast_tracepoint_valid_at.  Call gdb_insn_length to get
+       the instruction length.
+
+2015-07-30  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.h (enum gdb_regnum): Move it to ...
+       * arch/arm.h: ... here.  New file.
+       * Makefile.in (HFILES_NO_SRCDIR): Add arch/arm.h.
+
+2015-07-30  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (decode_b): Rename link argument to is_bl.
+       Change its type to int *.
+       (decode_br): Rename link argument to is_blr.  Change its type to
+       int *.
+       (decode_cb): Rename op argument to is_cbnz.  Change its type to
+       int *.
+       (decode_tb): Rename op argument to is_tbnz.  Change its type to
+       int *.  Set is_tbnz to either 1 or 0.
+       (aarch64_analyze_prologue): Change type of is_link to int.  Add
+       new variables is_cbnz and is_tbnz.  Adjust call to
+       aarch64_decode_cb and aarch64_decode_tb.
+
+2015-07-29  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mips-linux-nat.c (write_watchpoint_regs): Add NULL as ptrace's 4th
+       parameter.
+       (mips_linux_new_thread): Likewise.
+       * nat/mips-linux-watch.c (mips_linux_read_watch_registers): Likewise.
+
+2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * top.c: Include "tui/tui.h".
+       (undo_terminal_modifications_before_exit): New static function.
+       (quit_force): Use it.
+
+2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * target.c (terminal_state): Initialize to terminal_is_ours.
+
+2015-07-29  Yao Qi  <yao.qi@linaro.org>
+
+       PR record/18691
+       * dcache.c (dcache_read_memory_partial): Call
+       raw_memory_xfer_partial.
+       * target.c (raw_memory_xfer_partial): Make it non-static.
+       * target.h (raw_memory_xfer_partial): Declare.
+
+2015-07-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * c-valprint.c (c_val_print_array): Consider addressable memory
+       unit size.
+       (c_val_print_ptr): Likewise.
+       (c_val_print_int): Likewise.
+       * findvar.c (read_frame_register_value): Likewise.
+       * valarith.c (find_size_for_pointer_math): Likewise.
+       (value_ptrdiff): Likewise.
+       (value_subscripted_rvalue): Likewise.
+       * valops.c (read_value_memory): Likewise (and rename variables).
+       (value_assign): Likewise.
+       (value_repeat): Likewise.
+       (value_array): Likewise.
+       (value_slice): Likewise.
+       * valprint.c (generic_val_print_ptr): Likewise.
+       (generic_val_print_enum): Likewise.
+       (generic_val_print_bool): Likewise.
+       (generic_val_print_int): Likewise.
+       (generic_val_print_char): Likewise.
+       (generic_val_print_float): Likewise.
+       (generic_val_print_decfloat): Likewise.
+       (generic_val_print_complex): Likewise.
+       (val_print_scalar_formatted): Likewise.
+       (val_print_array_elements): Likewise.
+       * value.c (set_value_parent): Likewise.
+       (value_contents_copy_raw): Likewise.
+       (set_internalvar_component): Likewise.
+       (value_primitive_field): Likewise.
+       (value_fetch_lazy): Likewise.
+       * value.h (read_value_memory): Update comment.
+
+2015-07-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * value.c (get_value_arch): New function.
+       * value.h (get_value_arch): New declaration.
+
+2015-07-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * value.c (struct value): Update comments.
+
+2015-07-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdbtypes.c (type_length_units): New function.
+       * gdbtypes.h (type_length_units): New declaration.
+       (struct type) <length>: Update comment.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out complex
+       printing code to ...
+       (generic_val_print_complex): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out decfloat
+       printing code to ...
+       (generic_val_print_decfloat): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out float
+       printing code to ...
+       (generic_val_print_float): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out char
+       printing code to ...
+       (generic_val_print_char): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out integer
+       printing code to ...
+       (generic_val_print_int): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out bool
+       printing code to ...
+       (generic_val_print_bool): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out function/method
+       printing code to ...
+       (generic_val_print_func): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out flags
+       printing code to ...
+       (generic_val_print_flags): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out enum
+       printing code to ...
+       (generic_val_print_enum): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out reference
+       printing code to ...
+       (generic_val_print_ref): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out memberptr
+       printing code to ...
+       (generic_val_print_memberptr): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out pointer
+       printing code to ...
+       (generic_val_print_ptr): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out array
+       printing code to ...
+       (generic_val_print_array): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out
+       print_unpacked_pointer code to ...
+       (print_unpacked_pointer): ... this new function.
+
+2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * event-top.c (handle_sigterm): Don't inspect
+       target_can_async_p.  Always set the quit flag and always mark
+       the async signal handler.
+
+2015-07-27  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (REMOTE_EXAMPLES): Remove it.
+
+2015-07-25  Kevin Buettner  <kevinb@redhat.com>
+
+       * remote.c (read_ptid): Return null_ptid when no thread id
+       is found.
+       (remote_current_thread): Add log warning for malformed
+       qC reply.
+       (remote_start_remote): Add log warning when current thread
+       not found.
+
+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>
+
+       Move linux_find_memory_regions_full & co.
+       * linux-tdep.c (nat/linux-maps.h): Include.
+       (gdb_regex.h): Remove the include.
+       (enum filterflags, struct smaps_vmflags, read_mapping, decode_vmflags)
+       (mapping_is_anonymous_p, dump_mapping_p): Moved to nat/linux-maps.c.
+       (linux_find_memory_region_ftype): Moved typedef to nat/linux-maps.h.
+       (linux_find_memory_regions_full): Moved definition to nat/linux-maps.c.
+       * nat/linux-maps.c: Include ctype.h, target/target-utils.h, gdb_regex.h
+       and target/target.h.
+       (struct smaps_vmflags, read_mapping, decode_vmflags)
+       (mapping_is_anonymous_p, dump_mapping_p): Move from linux-tdep.c.
+       (linux_find_memory_regions_full): Move from linux-tdep.c.
+       * nat/linux-maps.h (read_mapping): New declaration.
+       (linux_find_memory_region_ftype, enum filterflags): Moved from
+       linux-tdep.c.
+       (linux_find_memory_regions_full): New declaration.
+       * target.c (target/target-utils.h): Include.
+       (read_alloc_pread_ftype): Moved typedef to target/target-utils.h.
+       (read_alloc, read_stralloc_func_ftype, read_stralloc): Moved
+       definitions to target/target-utils.c.
+       * target.h (target_fileio_read_stralloc): Move it to target/target.h.
+       * target/target-utils.c (read_alloc, read_stralloc): Move definitions
+       from target.c.
+       * target/target-utils.h (read_alloc_pread_ftype): New typedef.
+       (read_alloc): New declaration.
+       (read_stralloc_func_ftype): New typedef.
+       (read_stralloc): New declaration.
+       * target/target.h (target_fileio_read_stralloc): Move it from target.h.
+
+2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Prepare linux_find_memory_regions_full & co. for move.
+       * linux-tdep.c (linux_find_memory_region_ftype): Comment.
+       (linux_find_memory_regions_full): Change signature and prepare
+       for moving to linux-maps.
+       (linux_find_memory_regions_data): Rename field 'obfd' to 'data'.
+       (linux_find_memory_regions_thunk): New.
+       (linux_find_memory_regions_thunk): Use 'data' field instead of 'obfd'.
+       (linux_find_memory_regions_gdb): New.
+       (linux_find_memory_regions): Rename argument 'obfd' to 'func_data'.
+       (linux_make_mappings_corefile_notes): Use
+       linux_find_memory_regions_gdb.
+       * target.c (read_alloc_pread_ftype): New typedef.
+       (target_fileio_read_alloc_1_pread): New function.
+       (read_alloc): Refactor from target_fileio_read_alloc_1.
+       (read_stralloc_func_ftype): New typedef.
+       (target_fileio_read_alloc_1): New implementation. Use read_alloc.
+       (read_stralloc): Refactored from target_fileio_read_stralloc.
+       (target_fileio_read_stralloc): New implementation, use read_stralloc.
+
+2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Change gdb_regex.h to
+       common/gdb_regex.h.
+       (COMMON_OBS): Add gdb_regex.o.
+       (gdb_regex.o): New.
+       * common/common.m4 (GDB_AC_COMMON): Add gdb_use_included_regex,
+       --without-included-regex and USE_INCLUDED_REGEX.
+       * common/gdb_regex.c: New file from utils.c functions.
+       * common/gdb_regex.h: Move it here from gdb_regex.h, update include
+       file wrapping define name.
+       * configure: Rebuilt.
+       * configure.ac (gdb_use_included_regex, --without-included-regex)
+       (USE_INCLUDED_REGEX): Move them to common/common.m4.
+       * gdb_regex.h: Move it to common/gdb_regex.h.
+       * utils.c: Remove include gdb_regex.h.
+       (do_regfree_cleanup, make_regfree_cleanup, get_regcomp_error)
+       (compile_rx_or_error): Move them to common/gdb_regex.c.
+
+2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Create empty nat/linux-maps.[ch] and common/target-utils.[ch].
+       * Makefile.in (HFILES_NO_SRCDIR); Add nat/linux-maps.h,
+       common/target-utils.h.
+       (COMMON_OBS): Add target-utils.o.
+       (linux-maps.o, target-utils.o): New.
+       * target/target-utils.c: New file.
+       * target/target-utils.h: New file.
+       * config/i386/linux.mh (NATDEPFILES): Add linux-maps.o.
+       * config/i386/linux64.mh (NATDEPFILES): Ditto.
+       * nat/linux-maps.c: New file.
+       * nat/linux-maps.h: New file.
+
+2015-07-15  Markus Metzger  <markus.t.metzger@intel.com>
+           Pedro Alves <palves@redhat.com>
+
+       * nat/linux-btrace.c (perf_event_read): Change the type of DATA_HEAD.
+       (perf_event_read_all): Change the type of SIZE and DATA_HEAD.
+       (perf_event_read_bts): Change the type of SIZE and READ.
+       (linux_enable_bts): Change the type of SIZE, PAGES, DATA_SIZE,
+       and DATA_OFFSET.  Move DATA_SIZE declaration.  Restrict the buffer size
+       to UINT_MAX.  Check for overflows when using DATA_HEAD from the perf
+       mmap page.
+       (linux_enable_pt): Change the type of PAGES and SIZE.  Restrict the
+       buffer size to UINT_MAX.
+       (linux_read_bts): Change the type of BUFFER_SIZE, SIZE, DATA_HEAD, and
+       DATA_TAIL.
+       * nat/linux-btrace.h (struct perf_event_buffer)<size, data_head>
+       <last_head>: Change type.
+       * common/btrace-common.h (struct btrace_dat_pt) <size>: Change type.
+       * common/btrace-common.c (btrace_data_append): Change the type of
+       SIZE.
+       * btrace.c (parse_xml_raw): Change the type of SIZE.  Change oddness
+       check.
+
+2015-07-14  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdbtypes.h (CHECK_TYPEDEF): Remove.
+       * aarch64-tdep.c (aarch64_return_in_memory): Replace CHECK_TYPEDEF
+       with check_typedef.
+       * ada-lang.c (decode_constrained_packed_array_type): Likewise.
+       (ada_array_length): Likewise.
+       (find_parallel_type_by_descriptive_type): Likewise.
+       (ada_check_typedef): Likewise.
+       * arm-tdep.c (arm_return_in_memory): Likewise.
+       * ax-gdb.c (gen_trace_static_fields): Likewise.
+       (gen_struct_ref_recursive): Likewise.
+       * c-exp.y (exp : SIZEOF '(' type ')' %prec UNARY): Likewise.
+       (variable: block COLONCOLON name): Likewise.
+       (qualified_name: TYPENAME COLONCOLON name): Likewise.
+       * c-lang.c (classify_type): Likewise.
+       * c-typeprint.c (c_print_type): Likewise.
+       (c_print_typedef): Likewise.
+       (c_type_print_base): Likewise.
+       * c-valprint.c (c_val_print): Likewise.
+       * compile/compile-c-types.c (convert_type): Likewise.
+       * compile/compile-object-load.c (get_out_value_type): Likewise.
+       * completer.c (add_struct_fields): Likewise.
+       (expression_completer): Likewise.
+       * cp-namespace.c (cp_find_type_baseclass_by_name): Likewise.
+       (cp_lookup_nested_symbol_1): Likewise.
+       (cp_lookup_nested_symbol): Likewise.
+       * cp-valprint.c (cp_print_value_fields): Likewise.
+       (cp_print_static_field): Likewise.
+       * d-valprint.c (d_val_print): Likewise.
+       * eval.c (evaluate_subexp_standard): Likewise.
+       (evaluate_subexp_for_sizeof): Likewise.
+       * f-exp.y (exp : SIZEOF '(' type ')' %prec UNARY): Likewise.
+       * f-typeprint.c (f_type_print_base): Likewise.
+       * f-valprint.c (f_val_print): Likewise.
+       * gdbtypes.c (get_discrete_bounds): Likewise.
+       (create_array_type_with_stride): Likewise.
+       (type_name_no_tag_or_error): Likewise.
+       (lookup_struct_elt_type): Likewise.
+       (get_unsigned_type_max): Likewise.
+       (internal_type_vptr_fieldno): Likewise.
+       (set_type_vptr_fieldno): Likewise.
+       (internal_type_vptr_basetype): Likewise.
+       (set_type_vptr_basetype): Likewise.
+       (get_vptr_fieldno): Likewise.
+       (is_integral_type): Likewise.
+       (is_scalar_type): Likewise.
+       (is_scalar_type_recursive): Likewise.
+       (distance_to_ancestor): Likewise.
+       (is_unique_ancestor_worker): Likewise.
+       (check_types_equal): Likewise.
+       * gnu-v2-abi.c (gnuv2_value_rtti_type): Likewise.
+
+2015-07-14  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * dwarf2read.c (find_slot_in_mapped_hash): Extend language support to
+       also test for language_d.
+       (dwarf2_compute_name): Likewise.
+       (read_func_scope): Likewise.
+       (read_structure_type): Likewise.
+       (new_symbol_full): Likewise.
+       (determine_prefix): Likewise.
+       (read_import_statement): Use dot as the separator for language_d.
+       (typename_concat): Likewise, but don't prefix the D main function.
+
+2015-07-14  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * nat/linux-namespaces.c (setns): Rename from this ...
+       (do_setns): ... to this.  Support calling setns if it exists.
+       (mnsh_handle_setns): Call do_setns.
+
+2015-07-13  Yao Qi  <yao.qi@linaro.org>
+
+       * exec.c (exec_file_attach): Add period at the end of error
+       message.
+
+2015-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-win.c (window_name_completer): New function.
+       (focus_completer): Call window_name_completer.  All old content
+       moved into window_name_completer.
+       (winheight_completer): New function.
+       (_initialize_tui_win): Rename variable.  Add completer to
+       winheight command.  Update doc string on winheight.
+
+2015-07-12  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-linux-tdep.c (_initialize_nios2_linux_tdep): Register
+       all nios2 mach variants.
+
+2015-07-10  Kevin Buettner  <kevinb@redhat.com>
+
+       * rx-tdep.c (rx_get_opcode_byte): Use target_read_code instead
+       of target_read_memory.
+
+2015-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-win.c (tui_set_win_height): Use a cleanup to free the
+       string copy.
+       (parse_scrolling_args): Likewise.
+
+2015-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-win.c (focus_completer): Don't duplicate the tui window
+       names in this function.
+
+2015-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-data.h (SRC_NAME): Convert to lower case.
+       (CMD_NAME): Likewise.
+       (DATA_NAME): Likewise.
+       (DISASSEM_NAME): Likewise.
+       * tui/tui-win.c (tui_set_focus): Window names are now lower case.
+       (tui_set_win_height): Likewise.
+       (parse_scrolling_args): Likewise.
+
+2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_goto_begin)
+       (record_btrace_goto_end, record_btrace_goto): Move call to
+       print_stack_frame ...
+       (record_btrace_set_replay): ... here.  Set stop_pc.
+       * record-full.c (record_full_goto_entry): Set stop_pc.
+
+2015-07-09  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * NEWS: Mention support for tracepoints on aarch64-linux.
+
+2015-07-09  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * linux-aarch64-low.c (aarch64_supports_tracepoints): New
+       function.  Return 1.
+       (the_low_target): Install it.
+
+2015-07-09  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * gdb.trace/backtrace.exp: Set registers for aarch64 target.
+       * gdb.trace/collection.exp: Likewise.
+       * gdb.trace/mi-trace-frame-collected.exp: Likewise.
+       * gdb.trace/mi-trace-unavailable.exp: Likewise.
+       * gdb.trace/report.exp: Likewise.
+       * gdb.trace/trace-break.exp: Likewise.
+       * gdb.trace/unavailable.exp: Likewise.
+       * gdb.trace/while-dyn.exp: Likewise.
+
+2015-07-09  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c: Add ax.h and ax-gdb.h includes.
+       (aarch64_gen_return_address): New function.
+       (aarch64_gdbarch_init): Hook it.
+
+2015-07-09  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (aarch64_make_stub_cache): Set available_p and
+       swallow NOT_AVAILABLE_ERROR.
+       (aarch64_stub_this_id): Call frame_id_build_unavailable_stack if
+       available_p is not set.
+       (aarch64_stub_frame_unwind_stop_reason): New function.
+       (aarch64_stub_unwind): Install it.
+
+2015-07-09  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (aarch64_prologue_cache) <available_p>: New
+       field.
+       (aarch64_make_prologue_cache_1): New function, factored out from
+       aarch64_make_prologue_cache.  Do not allocate cache.  Set
+       available_p.
+       (aarch64_make_prologue_cache): Reimplement wrapping
+       aarch64_make_prologue_cache_1, and swallowing
+       NOT_AVAILABLE_ERROR.
+       (aarch64_prologue_frame_unwind_stop_reason): New function.
+       Return UNWIND_UNAVAILABLE if available_p is not set.
+       (aarch64_prologue_unwind): Install it.
+       (aarch64_prologue_this_id): Move prev_pc and prev_sp limit
+       checks into aarch64_prologue_frame_unwind_stop_reason.  Call
+       frame_id_build_unavailable_stack if available_p is not set.
+
+2015-07-09  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (aarch64_prologue_cache) <func, prev_pc>: New
+       fields.
+       (aarch64_scan_prologue): Set prev_pc.
+       (aarch64_make_prologue_cache): Set func.
+       (aarch64_make_stub_cache): Set prev_pc.
+       (aarch64_prologue_this_id): Remove local variables id, pc and
+       func.  Read prev_pc and func from cache.
+       (aarch64_stub_this_id): Read prev_pc from cache.
+
+2015-07-09  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (aarch64_make_stub_cache): Update comment.  New
+       argument this_cache.  Remove unused local variables reg and
+       unwound_fp.  Return early if this_cache is already set.  Set
+       this_cache.
+       (aarch64_stub_this_id): Update call to aarch64_make_stub_cache.
+
+2015-07-09  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (aarch64_make_prologue_cache): Update comment.
+       New argument this_cache.  Return early if this_cache is already
+       set.  Set this_cache.
+       (aarch64_prologue_this_id): Update call to
+       aarch64_make_prologue_cache.
+       (aarch64_prologue_prev_register): Likewise.
+       (aarch64_normal_frame_base): Likewise.
+
 2015-07-09  Simon Marchi  <simon.marchi@ericsson.com>
 
        * c-valprint.c (c_val_print): Factor out memberptr printing code
        (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.040548 seconds and 4 git commands to generate.