From: Daniel Jacobowitz <drow@false.org>
To: Efim Monjak <ymonyak@lipowsky.de>
Cc: gdb@sources.redhat.com
Subject: Re: arm-elf remote target and cpsr
Date: Thu, 27 Oct 2005 12:48:00 -0000 [thread overview]
Message-ID: <20051027124831.GC21596@nevyn.them.org> (raw)
In-Reply-To: <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
prev parent reply other threads:[~2005-10-27 12:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-27 11:59 Efim Monjak
2005-10-27 12:48 ` Daniel Jacobowitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051027124831.GC21596@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=ymonyak@lipowsky.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox