[Ping 1: try 3rd] arm_pc_is_thumb takes displaced stepping into account

Yao Qi yao@codesourcery.com
Wed Jan 19 16:09:00 GMT 2011


On 01/11/2011 09:02 PM, Yao Qi wrote:

> This time, instead of exposing displaced_step_inferior_state to tdep, we
> return displaced_step_closure, which is defined by each tdep, instance
> to tdep appropriately.
>
> OK to mainline?
>
Ping.
http://sourceware.org/ml/gdb-patches/2011-01/msg00247.html

gdb/
         * infrun.c (get_displaced_step_closure_by_addr): New.
         * inferior.h: Declare it.
         * arm-tdep.c: (arm_pc_is_thumb): Call
	get_displaced_step_closure_by_addr.  Adjust MEMADDR if it
	returns non-NULL.

-- 
Yao Qi



More information about the Gdb-patches mailing list