* linux-arm-low.c (struct arm_linux_hwbp_cap): Remove.
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 21 Sep 2011 16:15:27 +0000 (16:15 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 21 Sep 2011 16:15:27 +0000 (16:15 +0000)
commit71487fd776633dfd3489089e1fb2342044cd813f
treeb65ff26f2e0dc8404da214806f5c0c464c114bd2
parentb2cd6b294833b0dd0d5b913580fa7e5a72565b41
* linux-arm-low.c (struct arm_linux_hwbp_cap): Remove.
(arm_linux_hwbp_cap): New static variable.
(arm_linux_get_hwbp_cap): Replace by ...
(arm_linux_init_hwbp_cap): ... this new function.
(arm_linux_get_hw_breakpoint_count): Use arm_linux_hwbp_cap.
(arm_linux_get_hw_watchpoint_count): Likewise.
(arm_linux_get_hw_watchpoint_max_length): Likewise.
(arm_arch_setup): Call arm_linux_init_hwbp_cap.
(arm_prepare_to_resume): Use perror_with_name instead of error.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-arm-low.c