[PATCH] fix ARM CPSR register fetching in linux

Mika Westerberg mika.westerberg@iki.fi
Tue Apr 21 18:06:00 GMT 2009


On Tue, Apr 21, 2009 at 10:31:04AM +0000, Joseph S. Myers wrote:
> On Tue, 21 Apr 2009, Mika Westerberg wrote:
> 
> > Hi,
> > 
> > Current version of gdb cannot read CPSR register correctly through
> > ptrace(2) when debugging live process on ARM linux.  Problem is caused
> > by change where ARM_CPSR_REGNUM (16) was aliased to ARM_PS_REGNUM (25).
> 
> I believe this is subsumed by Kazu's patch 
> <http://sourceware.org/ml/gdb-patches/2009-04/msg00410.html>, which 
> appears to be pending review.

Thanks for pointing this out.  I'll then wait for the patch to
be integrated to the upstream.

MW



More information about the Gdb-patches mailing list