This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 3/3] Displaced stepping for 16-bit Thumb instructions
- From: Yao Qi <yao at codesourcery dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 18 Feb 2011 14:33:48 +0800
- Subject: Re: [patch 3/3] Displaced stepping for 16-bit Thumb instructions
- References: <201102172011.p1HKBa0Y002611@d06av02.portsmouth.uk.ibm.com>
On 02/18/2011 04:11 AM, Ulrich Weigand wrote:
> Thanks. Any thoughts how much more work the 32-bit instructions would be?
I've had a patch for 32-bit Thumb instructions displaced stepping in my
local tree, and planed to submit once `16-bit' patch is approved.
> I'm not sure it is a good idea to support Thumb only partially; with the
> current setup, you will fail immediately when debugging Thumb, but with
> the patch, you might happen to step over a couple of 16-bit instructions
> before hitting the first 32-bit instruction ... (That may not be all
> that bad, just wondering ...)
So, my plan is,
1. Get "patch 2/3" agreed and approved,
2. Revise "patch 3/3" per your comments in last mail, and "patch 2/3".
3. Revise patch for `32-bit' thumb instructions in my local tree, and
submit.
--
Yao (éå)