This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: arm-elf remote target and cpsr
- From: Daniel Jacobowitz <drow at false dot org>
- To: Efim Monjak <ymonyak at lipowsky dot de>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 27 Oct 2005 08:48:31 -0400
- Subject: Re: arm-elf remote target and cpsr
- References: <4360C10E.70301@lipowsky.de>
On Thu, Oct 27, 2005 at 01:59:10PM +0200, Efim Monjak wrote:
> Hi all
>
> by the communikation with a arm-elf target with remote protokoll I see
> difference to ARM simulator:
> 1. the cpsr register value can be wieved in Insight if the target is
> simulator
> but it is always zero (by using only GDB also) if remote protokoll is used.
> I use our stub, possibly the value for cpsr register is on the wrong place.
> The responce to the command "g" has follow format:
> 26 times 32-bit values with all registers data. The R0 is the first and
> the cpsr is the last value. The values R0 to PC are displayed by GDB
> correct.
> Is the responce from stub wrong?
Yes. Look at gdb/regformats/reg-arm.dat for more about the ARM g
packet; the old floating point (FPA) registers are included, and they
are not 32 bits.
--
Daniel Jacobowitz
CodeSourcery, LLC