This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/3] Displaced stepping for 16-bit Thumb instructions
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: yao at codesourcery dot com (Yao Qi)
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 1 Mar 2011 17:11:29 +0100 (CET)
- Subject: 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