* arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint)
[deliverable/binutils-gdb.git] / gdb / arm-tdep.h
index 1e83834180f1c9aaaa915f200c1f0257bc8989d6..e6220fe37244e8fe7eaf0a04a1e950af0bc49bca 100644 (file)
@@ -167,9 +167,16 @@ struct gdbarch_tdep
 
   const char *arm_breakpoint;  /* Breakpoint pattern for an ARM insn.  */
   int arm_breakpoint_size;     /* And its size.  */
-  const char *thumb_breakpoint;        /* Breakpoint pattern for an ARM insn.  */
+  const char *thumb_breakpoint;        /* Breakpoint pattern for a Thumb insn.  */
   int thumb_breakpoint_size;   /* And its size.  */
 
+  /* If the Thumb breakpoint is an undefined instruction (which is
+     affected by IT blocks) rather than a BKPT instruction (which is
+     not), then we need a 32-bit Thumb breakpoint to preserve the
+     instruction count in IT blocks.  */
+  const char *thumb2_breakpoint;
+  int thumb2_breakpoint_size;
+
   int jb_pc;                   /* Offset to PC value in jump buffer. 
                                   If this is negative, longjmp support
                                   will be disabled.  */
This page took 0.023675 seconds and 4 git commands to generate.