This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PING : rfa] Update PC without side effect in displaced stepping
- From: Yao Qi <yao at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 06 Jan 2011 22:18:53 +0800
- Subject: [PING : rfa] Update PC without side effect in displaced stepping
- 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>
On 12/23/2010 03:00 PM, Yao Qi wrote:
> OK. I have to try the second approach, which is 1) exposing displaced
> stepping state to tdep, and 2) take displaced stepping state into
> account when determining the mode.
Ping.
http://sourceware.org/ml/gdb-patches/2010-12/msg00427.html
2010-12-23 Yao Qi <yao@codesourcery.com>
* arm-tdep.c: (arm_pc_is_thumb): Adjust MEMADDR if it is within
copy area of displaced stepping.
* infrun.c (struct displaced_step_inferior_state): Move to ...
Expose get_displaced_stepping_state.
* inferior.h: ... here.
Declare get_displaced_stepping_state.
P.S. I am thinking that it may be a good idea to move code for
displaced stepping to a separate file, say displaced_step.[ch]. Comments?
--
Yao (éå)