Re: [patch 2/3] Displaced stepping for 16-bit Thumb instructions

Ulrich Weigand
2011-03-01T16:11:45Z

Yao Qi wrote:

> * arm-tdep.h (struct displaced_step_closure): Add two new fields
> is_thumb and insn_size.
> * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset
> on both ARM and Thumb mode.
> (arm_process_displaced_insn): Set is_thumb and insn_size.
> (arm_displaced_init_closure): Handle both 16-bit and 32-bit.
> (arm_displaced_step_fixup): Likewise.

This version is OK, thanks!

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com