diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-10-10 11:11:25 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-10-10 11:11:25 +0100 |
commit | a1078bea751d48e8846b91542d91647f1e0aed8d (patch) | |
tree | bdcb7d3f091fec0c7e039ce9922d9e40b913eec8 /gdb/arm-tdep.c | |
parent | 97ce08cb8071bf9a8df6c99cdf8e9fbf1911f3f5 (diff) | |
download | gdb-a1078bea751d48e8846b91542d91647f1e0aed8d.zip gdb-a1078bea751d48e8846b91542d91647f1e0aed8d.tar.gz gdb-a1078bea751d48e8846b91542d91647f1e0aed8d.tar.bz2 |
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.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 4211cd5..27a3ebe 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -7900,7 +7900,7 @@ arm_remote_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, if (arm_pc_is_thumb (gdbarch, *pcptr) && *kindptr == 4) /* The documented magic value for a 32-bit Thumb-2 breakpoint, so that this is not confused with a 32-bit ARM breakpoint. */ - *kindptr = 3; + *kindptr = ARM_BP_KIND_THUMB2; } /* Extract from an array REGBUF containing the (raw) register state a |