* arm-elf remote target and cpsr
@ 2005-10-27 11:59 Efim Monjak
2005-10-27 12:48 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Efim Monjak @ 2005-10-27 11:59 UTC (permalink / raw)
To: gdb
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?
thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: arm-elf remote target and cpsr
2005-10-27 11:59 arm-elf remote target and cpsr Efim Monjak
@ 2005-10-27 12:48 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2005-10-27 12:48 UTC (permalink / raw)
To: Efim Monjak; +Cc: gdb
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-27 12:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-27 11:59 arm-elf remote target and cpsr Efim Monjak
2005-10-27 12:48 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).