Clear addr bit in next_pcs vector
authorYao Qi <yao.qi@linaro.org>
Tue, 8 Nov 2016 12:58:33 +0000 (12:58 +0000)
committerYao Qi <yao.qi@linaro.org>
Tue, 8 Nov 2016 12:58:33 +0000 (12:58 +0000)
commit0bc5d801ec836cd4b7d1ab7d05658e7a1d05df22
treeb34eb60118afa6194e6f810b9242f5b663b1b4e0
parent771da62d67a9f27c1e706610efe51b13c3f9fd60
Clear addr bit in next_pcs vector

This patch is to split the loop of calling gdbarch_addr_bits_remove
and insert_single_step_breakpoint into two loops.

gdb:

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

* arm-linux-tdep.c (arm_linux_software_single_step): Write
adjusted address back to vector.  Call insert_single_step_breakpoint
in a new loop.
* arm-tdep.c (arm_software_single_step): Likewise.
gdb/ChangeLog
gdb/arm-linux-tdep.c
gdb/arm-tdep.c