This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[Ping 2: try 3rd] arm_pc_is_thumb takes displaced stepping into account
- From: Yao Qi <yao at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 30 Jan 2011 08:51:55 +0800
- Subject: [Ping 2: try 3rd] arm_pc_is_thumb takes displaced stepping into account
- References: <4D0F0ABA.9010506@codesourcery.com> <201012200804.oBK84oPu005379@glazunov.sibelius.xs4all.nl> <4D0F5D36.2040909@codesourcery.com> <4D10D377.8080100@codesourcery.com> <20101223042236.GS2596@adacore.com> <4D12F3A8.3020102@codesourcery.com> <4D2D27F2.7050303@codesourcery.com> <4D370A88.6070808@codesourcery.com>
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 (éå)