From: Richard Earnshaw <rearnsha@arm.com>
To: Torsten Mohr <tmohr@s.netic.de>
Cc: gdb <gdb@sources.redhat.com>, Richard.Earnshaw@arm.com
Subject: Re: ARM, registers, "frame 0", where's the PC?
Date: Thu, 09 Jan 2003 12:20:00 -0000 [thread overview]
Message-ID: <200301091220.h09CK5s22668@pc960.cambridge.arm.com> (raw)
In-Reply-To: Your message of "Wed, 08 Jan 2003 20:02:37 +0100." <200301082002.37809.tmohr@s.netic.de>
tmohr@s.netic.de said:
> log: received valid packet 'g', len 1
> log: wpacket
> '588e00024854010200100002187800020020000148d4000018680000082e0100605c01
> 01582e00010f002ce92800dfff3800000100100000d3000040785634120000000000000
> 00000000000000000000000000000000000000000000000000000000000000000000000
> 00000000000000000000000000000000000000000000000000000000000000000000000
> 000000000000000000000000000000000000000000000200000d3'
> [what's here returned in R15 is always shown as "Program stopped at
> ADDRESS", no matter what's in R15]
Your remote target seems to be lying to you. This packet is the registers
that the target is sending back to gdb. It's interpreted as:
r0 588e0002
r1 48540102
r2 00100002
r3 18780002
r4 00200001
r5 48d40000
r6 18680000
r7 082e0100
r8 605c0101
r9 582e0001
r10 0f002ce9
r11 2800dfff
r12 38000001
r13 00100000
r14 d3000040
r15 78563412
f0 000000000000000000000000
f1 000000000000000000000000
f2 000000000000000000000000
f3 000000000000000000000000
f4 000000000000000000000000
f5 000000000000000000000000
f6 000000000000000000000000
f7 000000000000000000000000
fpsr 00000000
cpsr 200000d3
So the value returned to gdb for r15 is (after twidling for endianness)
0x12345678 as gdb is reporting.
You need to find out why your remote debug agent is sending a bogus r15
value.
R.
next prev parent reply other threads:[~2003-01-09 12:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-08 3:49 Torsten Mohr
2003-01-08 19:39 ` Torsten Mohr
2003-01-09 3:31 ` Daniel Jacobowitz
2003-01-09 17:12 ` Torsten Mohr
2003-01-09 17:24 ` Daniel Jacobowitz
2003-01-09 23:23 ` Torsten Mohr
2003-01-09 23:23 ` Torsten Mohr
2003-01-09 23:27 ` Daniel Jacobowitz
2003-01-10 6:52 ` Jan Van Belle
2003-01-10 14:24 ` Daniel Jacobowitz
2003-01-09 12:20 ` Richard Earnshaw [this message]
2003-01-09 17:12 ` Torsten Mohr
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=200301091220.h09CK5s22668@pc960.cambridge.arm.com \
--to=rearnsha@arm.com \
--cc=Richard.Earnshaw@arm.com \
--cc=gdb@sources.redhat.com \
--cc=tmohr@s.netic.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