diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-07-21 16:33:41 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-07-21 16:33:41 +0100 |
commit | af1b22f3004774f8c5c570abe7fab629026032f7 (patch) | |
tree | d24e1ef9ca80f1b62c1e08c75bffbac865cf792e /gdb/ChangeLog | |
parent | 40e050d242199ac67803c155ac2062169e5cf53d (diff) | |
download | gdb-af1b22f3004774f8c5c570abe7fab629026032f7.zip gdb-af1b22f3004774f8c5c570abe7fab629026032f7.tar.gz gdb-af1b22f3004774f8c5c570abe7fab629026032f7.tar.bz2 |
Move aarch64_linux_get_debug_reg_capacity to nat/aarch64-linux-hw-point.c
There are also some duplication on getting HW watchpoint/breakpoint
registers info between GDB and GDBserver. This patch moves them
to nat/aarch64-linux-hw-point.c.
Note that ENABLE_NLS is not defined in GDBserver, so it should be OK
to use _( markup.
gdb:
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.
gdb/gdbserver:
2015-07-21 Yao Qi <yao.qi@linaro.org>
* linux-aarch64-low.c (aarch64_arch_setup): Remove code and call
aarch64_linux_get_debug_reg_capacity.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b71b640..69a086b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +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. |