Record right reg num of thumb special data instructions
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9f8aa1d5c4116e9c19ce2e7586275ccb5db03e95..36cbef6e8a897984bb15669256c2f0c716b95711 100644 (file)
@@ -1,3 +1,335 @@
+2016-02-26  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.c (thumb_record_ld_st_reg_offset): Fix the register
+       number of Rd.
+
+2016-02-25  Doug Evans  <dje@google.com>
+
+       * remote-m32r-sdi.c (recv_char_data): Initialize val to avoid
+       compiler warning.
+       (recv_long_data): Ditto.
+
+2016-02-25  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * i386-linux-tdep.c (i386_linux_handle_segmentation_fault):
+       Initialize variables.
+
+2016-02-25  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * ax-general.c (ax_reg): Call gdbarch_remote_register_number.
+       (ax_reg_mask): Likewise.
+
+2016-02-24  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (save_sigtrap) Delete.
+       (stop_wait_callback): Call save_stop_reason instead of
+       save_sigtrap.
+       (check_stopped_by_breakpoint): Rename to ...
+       (save_stop_reason): ... this.  Bits of save_sigtrap folded here.
+       Use GDB_ARCH_IS_TRAP_HWBKPT and handle ambiguous
+       GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT.  Factor out
+       common code between the USE_SIGTRAP_SIGINFO and
+       !USE_SIGTRAP_SIGINFO blocks.
+       (linux_nat_filter_event): Call save_stop_reason instead of
+       save_sigtrap.
+       * nat/linux-ptrace.h: Check for both SI_KERNEL and TRAP_BRKPT
+       si_code for MIPS.
+       * nat/linux-ptrace.h: Fix "TRAP_HWBPT" typo in x86 table.  Add
+       comments on MIPS behavior.
+       (GDB_ARCH_IS_TRAP_HWBKPT): Define for all archs.
+
+2016-02-24  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * rs6000-tdep.c (rs6000_frame_cache): Initialize frame and pc to 0
+       to avoid spurious warnings.
+
+2016-02-24  Gary Benson  <gbenson@redhat.com>
+
+       * exec.c (exec_file_locate_attach): Do not attempt to
+       locate main executable locally if not found in sysroot.
+
+2016-02-24  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.11 released.
+
+2016-02-24  Wei-cheng Wang  <cole945@gmail.com>
+
+       * rs6000-tdep.c (rs6000_frame_cache, rs6000_frame_this_id): Handle
+       unavailable PC/SP to build unavailable frame.
+
+2016-02-23  Doug Evans  <dje@google.com>
+
+       Extend "skip" command to support -file, -gfile, -function, -rfunction.
+       * NEWS: Document new features.
+       * skip.c: #include "fnmatch.h", "gdb_regex.h".
+       (skiplist_entry) <file>: Renamed from filename.
+       <function>: Renamed from function_name.
+       <file_is_glob, function_is_regexp>: New members.
+       <compiled_function_regexp, compiled_function_regexp_is_valid>:
+       New members.
+       (make_skip_entry): New function.
+       (free_skiplist_entry, free_skiplist_entry_cleanup): New functions.
+       (make_free_skiplist_entry_cleanup): New function.
+       (skip_file_command): Update.
+       (skip_function, skip_function_command): Update.
+       (compile_skip_regexp): New functions.
+       (skip_command): Add support for new options.
+       (skip_info): Update.
+       (skip_file_p, skip_gfile_p): New functions.
+       (skip_function_p, skip_rfunction_p): New functions.
+       (function_name_is_marked_for_skip): Update and simplify.
+       (_initialize_step_skip): Update.
+       * symtab.c: #include "fnmatch.h".
+       (compare_glob_filenames_for_search): New function.
+       * symtab.h (compare_glob_filenames_for_search): Declare.
+       * utils.c (count_path_elements): New function.
+       (strip_leading_path_elements): New function.
+       * utils.h (count_path_elements): Declare.
+       (strip_leading_path_elements): Declare.
+
+2016-02-23  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * arm-tdep.c (arm_decode_svc_copro): Remove "to" parameter.
+       (thumb_process_displaced_insn): Likewise.
+       (arm_process_displaced_insn): Adjust calls.
+
+2016-02-23  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-tdep.c (enum aarch64_syscall) <aarch64_sys_mknod>:
+       Remove.
+       <aarch64_sys_mkdir, aarch64_sys_unlink, aarch64_sys_symlink>: Remove.
+       <aarch64_sys_link, aarch64_sys_rename, aarch64_sys_faccess>: Remove.
+       <aarch64_sys_mknodat, aarch64_sys_mkdirat>: New.
+       <aarch64_sys_unlinkat, aarch64_sys_symlinkat>: New.
+       <aarch64_sys_linkat, aarch64_sys_renameat>: New.
+       <aarch64_sys_faccessat>: New.
+       <aarch64_sys_open, aarch64_sys_readlink, aarch64_sys_fstatat>: Remove.
+       <aarch64_sys_openat, aarch64_sys_readlinkat>: New.
+       <aarch64_sys_newfstatat>: New.
+       (UNSUPPORTED_SYSCALL_MAP): New macro.
+       (aarch64_canonicalize_syscall): Add missing syscalls.
+
+2016-02-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb-gdb.py (class TypeFlagsPrinter): Use parentheses for print.
+
+2016-02-22  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.c: Fix code format issues.
+
+2016-02-21  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-namespace.c (d_lookup_symbol_imports): Remove argument
+       'search_parents'.  All callers updated.
+
+2016-02-18  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * s390-linux-tdep.c (s390_guess_tracepoint_registers): New function.
+       (s390_gdbarch_init): Fill guess_tracepoint_registers hook.
+
+2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * NEWS: Add entry for bound violation.
+       * amd64-linux-tdep.c (amd64_linux_init_abi_common):
+       Add handler for segmentation fault.
+       * gdbarch.sh (handle_segmentation_fault): New.
+       * gdbarch.c: Regenerate.
+       * gdbarch.h: Regenerate.
+       * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): New.
+       (SIG_CODE_BONDARY_FAULT): New define.
+       (i386_linux_init_abi): Use i386_mpx_bound_violation_handler.
+       * i386-linux-tdep.h (i386_linux_handle_segmentation_fault) New.
+       * i386-tdep.c (i386_mpx_enabled): Add as external.
+       * i386-tdep.c (i386_mpx_enabled): Add as external.
+       * infrun.c (handle_segmentation_fault): New function.
+       (print_signal_received_reason): Use handle_segmentation_fault.
+
+2016-02-18  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * arch-utils.c (default_guess_tracepoint_registers): New function.
+       * arch-utils.h (default_guess_tracepoint_registers): New prototype.
+       * gdbarch.c: Regenerate.
+       * gdbarch.h: Regenerate.
+       * gdbarch.sh: Add guess_tracepoint_registers hook.
+       * tracefile.c (tracefile_fetch_registers): Use the new gdbarch hook.
+
+2016-02-17  Gary Benson  <gbenson@redhat.com>
+
+       * exec.c (exec_file_locate_attach): Add missing cleanup.
+
+2016-02-16  Don Breazeal  <donb@codesourcery.com>
+
+       PR remote/19496
+       * remote.c (remove_new_fork_children): Check for pending
+       fork status in thread_info.suspend.
+
+2016-02-16  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_software_single_step): Assign
+       'old_chain' later.
+
+2016-02-16  Yao Qi  <yao.qi@linaro.org>
+
+       * arch/arm-get-next-pcs.h (struct arm_get_next_pcs_ops)
+       <syscall_next_pc>: Remove argument PC.  Callers updated.
+       * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc):
+       Remove argument PC.  Get pc from regcache_read_pc.
+       * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Remove
+       argument PC.
+
+2016-02-15  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_analyze_prologue): Remove "0x".
+
+2016-02-12  Yao Qi  <yao.qi@linaro.org>
+
+       * arch/arm-linux.c (arm_linux_get_next_pcs_fixup): Calculate
+       nextpc according to instruction.
+
+2016-02-12  Yao Qi  <yao.qi@linaro.org>
+
+       * arch/arm-get-next-pcs.c (arm_get_next_pcs): Call
+       self->ops->fixup if it isn't NULL.
+       * arch/arm-get-next-pcs.h: Include gdb_vecs.h.
+       (struct arm_get_next_pcs_ops) <fixup>: New field.
+       * arch/arm-linux.c: Include common-regcache.h and
+       arch/arm-get-next-pcs.h.
+       (arm_linux_get_next_pcs_fixup): New function.
+       * arch/arm-linux.h (arm_linux_get_next_pcs_fixup): Declare.
+       * arm-linux-tdep.c (arm_linux_get_next_pcs_ops): Initialize
+       it with arm_linux_get_next_pcs_fixup.
+       (arm_linux_software_single_step): Move code to
+       arm_linux_get_next_pcs_fixup.
+       * arm-tdep.c (arm_get_next_pcs_ops): Initialize it.
+
+2016-02-12  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * xml-tdesc.c (target_fetch_description_xml) [!HAVE_LIBEXPAT]: Warn
+       and return NULL.
+
+2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * frame.h (skip_tailcall_frames): Update comment.
+       * frame.c (skip_artificial_frames, skip_tailcall_frames): Return NULL
+       if only artificial frames are found.  Update comment.
+       (frame_unwind_caller_id): Handle NULL return.
+       (frame_unwind_caller_pc, frame_unwind_caller_arch): Assert that
+       skip_artificial_frames does not return NULL.
+       (frame_pop): Add an error if only tailcall frames are found.
+       * infcmd.c (finish_command): Move skip_tailcall_frames call into
+       forward-execution case.  Add an error if only tailcall frames are
+       found.
+
+2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * stack.c (frame_info): Check frame_unwind_caller_id.
+
+2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * frame.h (skip_tailcall_frames): New.
+       * frame.c (skip_tailcall_frames): New.
+       (frame_pop): Call skip_tailcall_frames.
+       * infcmd.c (finish_command): Call skip_tailcall_frames.
+
+2016-02-11  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (check-parallel): New rule.
+
+2016-02-11  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * arm-tdep.c (arm_skip_prologue): Remove unused variables.
+       (arm_analyze_prologue): Likewise.
+       (arm_scan_prologue): Likewise.
+       (arm_m_exception_prev_register): Likewise.
+       (arm_copy_block_xfer): Likewise.
+       (thumb2_copy_block_xfer): Likewise.
+       (arm_decode_miscellaneous): Likewise.
+       (arm_decode_ld_st_word_ubyte): Likewise.
+       (arm_decode_svc_copro): Likewise.
+       (thumb2_decode_svc_copro): Likewise.
+       (thumb_copy_16bit_ldr_literal): Likewise.
+       (thumb_copy_pop_pc_16bit): Likewise.
+       (decode_thumb_32bit_ld_mem_hints): Likewise.
+       (arm_show_force_mode): Likewise.
+       (_initialize_arm_tdep): Likewise.
+       (arm_record_strx): Likewise.
+       (arm_record_extension_space): Likewise.
+       (arm_record_data_proc_misc_ld_str): Likewise.
+       (arm_record_exreg_ld_st_insn): Likewise.
+       (arm_record_vfp_data_proc_insn): Likewise.
+       (arm_record_coproc_data_proc): Likewise.
+       (thumb_record_misc): Likewise.
+       (thumb_record_ldm_stm_swi): Likewise.
+       (thumb2_record_ld_st_dual_ex_tbb): Likewise.
+       (thumb2_record_ld_mem_hints): Likewise.
+       (thumb2_record_lmul_lmla_div): Likewise.
+       (thumb2_record_asimd_struct_ld_st): Likewise.
+       (arm_process_record): Likewise.
+
+2016-02-11  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * arm-tdep.c (arm_displaced_step_copy_insn): Remove.
+       (ARM displaced stepping support): Remove reference to
+       arm_displaced_step_copy_insn in comment.
+       * arm-tdep.h (arm_displaced_step_copy_insn): Remove.
+       * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Remove
+       reference to arm_displaced_step_copy_insn in comment.
+
+2016-02-11  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * arm-tdep.c (thumb_copy_unmodified_16bit): Change type of insn.
+       (thumb_copy_b): Likewise.
+       (arm_decode_b_bl_ldmstm): Likewise.
+       (thumb_copy_16bit_ldr_literal): Likewise.
+       (thumb_copy_pop_pc_16bit): Likewise.
+
+2016-02-11  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * tracepoint.c (encode_actions_1): Use target_gdbarch () rather
+       than loc->gdbarch.
+
+2016-02-10  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * tracefile-tfile.c (trace_tdesc): New static variable.
+       (tfile_open): Clear trace_tdesc, call target_find_description.
+       (tfile_interp_line): Recognize tdesc lines.
+       (tfile_close): Clear trace_tdesc.
+       (tfile_xfer_partial_features): New function.
+       (tfile_xfer_partial): Call tfile_xfer_partial_features.
+       (tfile_append_tdesc_line): New function.
+
+2016-02-10  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * ctf.c (ctf_write_tdesc): New function.
+       (ctf_write_ops): Wire in ctf_write_tdesc.
+       * tracefile-tfile.c (tfile_write_tdesc): New function.
+       (tfile_write_ops): Wire in tfile_write_tdesc.
+       * tracefile.c (trace_save): Call write_tdesc method.
+       * tracefile.h (struct trace_file_write_ops): Add write_tdesc method.
+       * xml-tdesc.c (target_fetch_description_xml): New function.
+       * xml-tdesc.h: Add target_fetch_description_xml prototype.
+
+2016-02-10  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * arm-tdep.c (arm_copy_extra_ld_st): Fix "unpriveleged" typo.
+       (arm_decode_dp_misc): Likewise.
+
+2016-02-10  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * amd64-tdep.c (amd64_ax_pseudo_register_collect): New function.
+       (amd64_init_abi): Fill ax_pseudo_register_collect hook.
+       * gdb/i386-tdep.c (i386_pseudo_register_read_into_value): Remove
+       misleading comment.
+       (i386_pseudo_register_write): Ditto.
+       (i386_ax_pseudo_register_collect): New function.
+       (i386_gdbarch_init): Fill ax_pseudo_register_collect hook.
+       * i386-tdep.h: Add i386_ax_pseudo_register_collect prototype.
+
+2016-02-10  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * tracefile-tfile.c (tfile_fetch_registers): Use g packet order
+       instead of gdb order.
+
 2016-02-10  Marcin Kościelnicki  <koriakin@0x04.net>
 
        * tracefile-tfile.c (tfile_fetch_registers): Fix off-by-one in bounds
This page took 0.041201 seconds and 4 git commands to generate.