diff options
Diffstat (limited to 'gdb/arch/arm-get-next-pcs.h')
-rw-r--r-- | gdb/arch/arm-get-next-pcs.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/arch/arm-get-next-pcs.h b/gdb/arch/arm-get-next-pcs.h index 895e866..4a0fc16 100644 --- a/gdb/arch/arm-get-next-pcs.h +++ b/gdb/arch/arm-get-next-pcs.h @@ -41,8 +41,9 @@ struct arm_get_next_pcs int byte_order; /* Byte order for code. */ int byte_order_for_code; - /* Thumb2 breakpoint instruction. */ - const gdb_byte *arm_thumb2_breakpoint; + /* Whether the target has 32-bit thumb-2 breakpoint defined or + not. */ + int has_thumb2_breakpoint; /* Registry cache. */ struct regcache *regcache; }; @@ -52,7 +53,7 @@ void arm_get_next_pcs_ctor (struct arm_get_next_pcs *self, struct arm_get_next_pcs_ops *ops, int byte_order, int byte_order_for_code, - const gdb_byte *arm_thumb2_breakpoint, + int has_thumb2_breakpoint, struct regcache *regcache); /* Find the next possible PCs after the current instruction executes. */ |