aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorOmair Javaid <omair.javaid@linaro.org>2014-03-13 01:23:55 +0500
committerOmair Javaid <omair.javaid@linaro.org>2014-03-13 01:23:55 +0500
commit638c5f496205e1209547f3f6303f773270882173 (patch)
tree50b631a8b9038fbc2de9d5abe79a0db71795daff /gdb/ChangeLog
parent6d03af93d24ffd30f19e66753106fc85ea0a51e4 (diff)
downloadfsf-binutils-gdb-638c5f496205e1209547f3f6303f773270882173.zip
fsf-binutils-gdb-638c5f496205e1209547f3f6303f773270882173.tar.gz
fsf-binutils-gdb-638c5f496205e1209547f3f6303f773270882173.tar.bz2
Support for HWbreak/watchpoint across fork/vfork on arm-native
This patch updates arm native support for hwbreak-/watchpoints to enable support for hwbreak-/watchpoints across fork/vfork. This involves changes to hwbreak-/watchpoint insertion mechanism to the modern way, by marking debug registers as needing update, but only really updating them on resume, which is necessary for supporting watchpoints in non-stop mode. This also updates a previously maintained per thread hwbreak-/watchpoint cache to a per process cache which allows target specific code to come in sync with gdb-linux calls to threads create/destroy and process fork/exit hooks.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog29
1 files changed, 29 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a3fc411..ea09023 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,32 @@
+2014-03-12 Omair Javaid <omair.javaid@linaro.org>
+
+ * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
+ (MAX_BPTS): Define.
+ (MAX_WPTS): Define.
+ (struct arm_linux_thread_points): Removed.
+ (struct arm_linux_process_info): New.
+ (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
+ (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
+ (arm_linux_find_breakpoints_by_tid): Removed.
+ (struct arch_lwp_info): New.
+ (arm_linux_find_process_pid): New functions.
+ (arm_linux_add_process): New functions.
+ (arm_linux_process_info_get): New functions.
+ (arm_linux_forget_process): New function.
+ (arm_linux_get_debug_reg_state): New function.
+ (struct update_registers_data): New.
+ (update_registers_callback): New function.
+ (arm_linux_insert_hw_breakpoint1): Updated.
+ (arm_linux_remove_hw_breakpoint1): Updated.
+ (arm_linux_insert_hw_breakpoint): Updated.
+ (arm_linux_remove_hw_breakpoint): Updated.
+ (arm_linux_insert_watchpoint): Updated.
+ (arm_linux_remove_watchpoint): Updated.
+ (arm_linux_new_thread): Updated.
+ (arm_linux_prepare_to_resume): New function.
+ (arm_linux_new_fork): New function.
+ (_initialize_arm_linux_nat): Updated.
+
2014-03-12 Pedro Alves <palves@redhat.com>
* Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.