* arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint)
authorDaniel Jacobowitz <drow@false.org>
Mon, 1 Feb 2010 16:13:17 +0000 (16:13 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 1 Feb 2010 16:13:17 +0000 (16:13 +0000)
commit177321bd85d5a3d4ca05d320696d8af43bc0fc05
treeffd4365fcfcbd8de561b1f7d37570927d180b9d6
parenta1dcb23a280b453738e569f0f7674dbd8ca39933
* arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint)
(arm_linux_thumb2_le_breakpoint): New constants.
(arm_linux_init_abi): Set thumb2_breakpoint and
thumb2_breakpoint_size.
* arm-tdep.c (thumb_insn_size, thumb_advance_itstate): New functions.
(thumb_get_next_pc): Add a comment.  Rename IT to ITSTATE.
Implement support for single stepping through IT blocks if
a 32-bit Thumb breakpoint instruction is available.
(arm_breakpoint_from_pc): If a 32-bit Thumb breakpoint instruction
is available, use it when needed.
(arm_remote_breakpoint_from_pc): New function.
(arm_gdbarch_init): Register arm_remote_breakpoint_from_pc.
* arm-tdep.h (struct gdbarch_tdep): Correct thumb_breakpoint
comment.  Add thumb2_breakpoint and thumb2_breakpoint_size.

gdbserver/
* linux-arm-low.c (thumb_breakpoint_len): Delete.
(thumb2_breakpoint): New.
(arm_breakpoint_at): Check for Thumb-2 breakpoints.

testsuite/
* gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
gdb/ChangeLog
gdb/arm-linux-tdep.c
gdb/arm-tdep.c
gdb/arm-tdep.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-arm-low.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/thumb2-it.S [new file with mode: 0644]
gdb/testsuite/gdb.arch/thumb2-it.exp [new file with mode: 0644]
This page took 0.02834 seconds and 4 git commands to generate.