This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix displaced stepping for remote targets
- From: Yao Qi <yao at codesourcery dot com>
- To: "Gustavo, Luis" <luis_gustavo at mentor dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 9 Apr 2012 13:45:41 +0800
- Subject: Re: [PATCH] Fix displaced stepping for remote targets
- References: <4F67E54C.1010904@mentor.com> <4F6808C9.7020709@codesourcery.com> <4F6809DB.1010005@mentor.com> <4F68295F.80301@codesourcery.com> <4F68E9B1.5040308@mentor.com>
On 03/21/2012 04:33 AM, Luis Gustavo wrote:
> If a target can't use hw single-stepping to execute instructions in the
> scratch pad, i think it should disallow it by returning 0 in
> gdbarch_displaced_step_hw_singlestep. Does it make sense?
Yes, that is what gdbarch_displaced_step_hw_singlestep for, AFAIK. I am
sorry I don't understand how gdbarch_displaced_step_hw_singlestep
related to your patch here.
--
Yao (éå)