Skip to content
Snippets Groups Projects
  • Daniel Jacobowitz's avatar
    177321bd
    * arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint) · 177321bd
    Daniel Jacobowitz authored
    	(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.
    177321bd
    History
    * arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint)
    Daniel Jacobowitz authored
    	(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.