base/regdump.c: Be helpful about VFP/NEON registers before `regdump_init'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 7 Nov 2019 01:31:29 +0000 (01:31 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 9 May 2020 19:46:54 +0000 (20:46 +0100)
commitb26c78631d7d8a991d60876035ef68bb904d4684
tree614fcf972b4cb83a18445d63c29a9d684f4f8286
parent19d642aad1d7d7962c7b3a2a88a9d7fc67dfe306
base/regdump.c: Be helpful about VFP/NEON registers before `regdump_init'.

On ARM32 (only), you really /must/ call `regdump_init' before dumping
VFP/NEON registers because otherwise there's no way to tell that they
need saving -- so they aren't and an important pointer is left null.

Rather than crashing, detect this and print a message explaining why the
register can't be dumped.
base/regdump.c