This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]