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]

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


On 01/20/2011 12:00 AM, Yao Qi wrote:
> 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.
> 

Ping.

-- 
Yao (éå)


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