* Re: armv7-M FPU support
[not found] <CACCvUGPmT6pz+Rz4vNxkLpawz74a9UjCWFu2Ffr7UzgiXP3v6Q@mail.gmail.com>
@ 2012-02-29 16:02 ` Sébastien DI MERCURIO
0 siblings, 0 replies; only message in thread
From: Sébastien DI MERCURIO @ 2012-02-29 16:02 UTC (permalink / raw)
To: gdb
Hi,
I am using Eclipse + GNU toolchain for my dev on a cortex-M4 embedded
MCU. Cortex-M4 is based on armv7-M architecture with FPU FPv4-SP.
On GDB, when I write "info all-registers", I get something like that:
r0 0x8000484 134218884
r1 0x100 256
r2 0x44444111 1145323793
r3 0x44444011 1145323537
r4 0x0 0
r5 0x44444011 1145323537
r6 0xa 10
r7 0x44444011 1145323537
r8 0x7bffffda 2080374746
r9 0xffffdf6c 4294958956
r10 0xa8fe7b46 2835249990
r11 0x5c628fb5 1549963189
r12 0xc00 3072
sp 0x20005000 0x20005000
lr 0xffffffff 4294967295
pc 0x80000ef 0x80000ef
f0 0 (raw 0x000000000000000000000000)
f1 0 (raw 0x000000000000000000000000)
f2 0 (raw 0x000000000000000000000000)
f3 0 (raw 0x000000000000000000000000)
f4 0 (raw 0x000000000000000000000000)
f5 0 (raw 0x000000000000000000000000)
f6 0 (raw 0x000000000000000000000000)
f7 0 (raw 0x000000000000000000000000)
fps 0x0 0
cpsr 0x1000020 16777248
Cortex-M4 doesn't have any Fx registers. FPU are named from S0 to S31
or from D0 to D15. When I enter "set architecture" command, I do not
see any armv7 architecture. Is this architecture and corresponding
registers files (either integer or floating point) supported by GDB ?
If so, how to get access to FPU registers ?
Thanks
Sebastien
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-29 16:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CACCvUGPmT6pz+Rz4vNxkLpawz74a9UjCWFu2Ffr7UzgiXP3v6Q@mail.gmail.com>
2012-02-29 16:02 ` armv7-M FPU support Sébastien DI MERCURIO
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).