This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Use the ARM CPSR as a fallback to determine ARM/Thumb
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: rearnsha at arm dot com, gdb-patches at sourceware dot org, sjackman at gmail dot com
- Date: Thu, 2 Mar 2006 17:25:43 -0500
- Subject: Re: RFC: Use the ARM CPSR as a fallback to determine ARM/Thumb
- References: <20060220214918.GA28798@nevyn.them.org> <1140519913.27380.29.camel@pc960.cambridge.arm.com> <20060221153601.GA21183@nevyn.them.org> <20060302221446.GA18830@nevyn.them.org> <200603022222.k22MMQre000048@elgar.sibelius.xs4all.nl>
On Thu, Mar 02, 2006 at 11:22:26PM +0100, Mark Kettenis wrote:
> Hmm, this really should unwind CPSR from the frame I think. A bit
> impractical to change that now, but something to keep in mind. Could
> you add a FIXME that points this out if you agree?
But... what frame? Is there a relevant frame? I don't believe that
there is. This is used for things like breakpoints and explicit "x/i".
Maybe you see something I don't, though?
Now, I could get it from get_current_frame() instead of read_register,
if you like.
--
Daniel Jacobowitz
CodeSourcery