diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-11-08 12:47:16 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-11-08 12:47:37 +0000 |
commit | 771da62d67a9f27c1e706610efe51b13c3f9fd60 (patch) | |
tree | a1283c955f4b8c9d0ef96e6af10514b428afa9db /gdb/arm-linux-tdep.c | |
parent | 53c3572a9f5b03a92292cb6d24bf69b52c95500e (diff) | |
download | gdb-771da62d67a9f27c1e706610efe51b13c3f9fd60.zip gdb-771da62d67a9f27c1e706610efe51b13c3f9fd60.tar.gz gdb-771da62d67a9f27c1e706610efe51b13c3f9fd60.tar.bz2 |
Remove arm_insert_single_step_breakpoint
This patch is to remove arm_insert_single_step_breakpoint.
gdb:
2016-11-08 Yao Qi <yao.qi@linaro.org>
* arm-linux-tdep.c (arm_linux_software_single_step): Don't
call arm_insert_single_step_breakpoint, call
insert_single_step_breakpoint instead.
* arm-tdep.c (arm_insert_single_step_breakpoint): Remove.
(arm_software_single_step): Don't call
arm_insert_single_step_breakpoint, call
insert_single_step_breakpoint instead.
* arm-tdep.h (arm_insert_single_step_breakpoint): Remove
declaration.
Diffstat (limited to 'gdb/arm-linux-tdep.c')
-rw-r--r-- | gdb/arm-linux-tdep.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index 55bbae7..bc92177 100644 --- a/gdb/arm-linux-tdep.c +++ b/gdb/arm-linux-tdep.c @@ -950,7 +950,10 @@ arm_linux_software_single_step (struct frame_info *frame) next_pcs = arm_get_next_pcs (&next_pcs_ctx); for (i = 0; VEC_iterate (CORE_ADDR, next_pcs, i, pc); i++) - arm_insert_single_step_breakpoint (gdbarch, aspace, pc); + { + pc = gdbarch_addr_bits_remove (gdbarch, pc); + insert_single_step_breakpoint (gdbarch, aspace, pc); + } do_cleanups (old_chain); |