Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Port to ARM #560
From what I've researched, in a userspace process there are the following registers:
So there is something to make nice — flags, controls (like FPU exception masks) and vector registers.
There are also some system registers, invisible to userspace, but I'm not sure whether there are any debug registers like
Awesome thanks for your research on this. My Pi arrived today, waiting on the case to arrive tomorrow. I think I'll be able to start the porting work next week.
I'm pretty excited to make headway on this feature since it is literally a tool I wish I had for work last week
For quick reference, here are some docs (paths to the actual docs are given just in case the links work strangely):
The register set of ARM appears to be quite rich, even not counting AArch64 (which BTW your version of RPi does support, unlike mine). There appears to be a host of differences between VFPv2 and VFPv3-D32, as well as NEON:
You can try my fork of gdb-dashboard, which attempts to make a mock-up of the register set as I suppose it should look in EDB. To try it out, copy or link
Then you can try stepping, running etc., seeing the changed registers highlight :)
This code doesn't yet present SIMD registers in any other form than hex dwords, but it's already something.
Myself, I tested that showing Qn registers even works, via gdbserver on my Lenovo A328 phone.