Share enum arm_breakpoint_kinds
authorYao Qi <yao.qi@linaro.org>
Mon, 10 Oct 2016 10:11:25 +0000 (11:11 +0100)
committerYao Qi <yao.qi@linaro.org>
Mon, 10 Oct 2016 10:11:25 +0000 (11:11 +0100)
commita1078bea751d48e8846b91542d91647f1e0aed8d
treebdcb7d3f091fec0c7e039ce9922d9e40b913eec8
parent97ce08cb8071bf9a8df6c99cdf8e9fbf1911f3f5
Share enum arm_breakpoint_kinds

This patch shares "enum arm_breakpoint_kinds", and use ARM_BP_KIND_THUMB2
in GDB.

gdb:

2016-10-10  Yao Qi  <yao.qi@linaro.org>

* arch/arm.h (enum arm_breakpoint_kinds): New.
* arm-tdep.c (arm_remote_breakpoint_from_pc): Use
ARM_BP_KIND_THUMB2.

gdb/gdbserver:

2016-10-10  Yao Qi  <yao.qi@linaro.org>

* linux-aarch32-low.c (enum arm_breakpoint_kinds): Remove.
gdb/ChangeLog
gdb/arch/arm.h
gdb/arm-tdep.c
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-aarch32-low.c