OSDN Git Service

* arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint)
authordrow <drow>
Mon, 1 Feb 2010 16:13:14 +0000 (16:13 +0000)
committerdrow <drow>
Mon, 1 Feb 2010 16:13:14 +0000 (16:13 +0000)
commit6987922d30fb889b91f0c2d87fd9ed9c35d8230e
treeea93b091d006ba3b57331f8d6d9ebd9f90e6093c
parentc4999d3bb0afa8f2f494eb1aa5e2dab128a9d720
* 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]