mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
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.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user