X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/19d642aad1d7d7962c7b3a2a88a9d7fc67dfe306..b26c78631d7d8a991d60876035ef68bb904d4684:/base/regdump.c?ds=sidebyside diff --git a/base/regdump.c b/base/regdump.c index 2fc0f997..c591fd5a 100644 --- a/base/regdump.c +++ b/base/regdump.c @@ -857,6 +857,13 @@ void regdump(const void *base, const char *lbl, uint32 f) case REGSRC_FP: case REGSRC_SIMD: map = (const struct regmap *)base; + if (!map->fp) { + printf(";;"); + if (lbl) printf(" %s:", lbl); + if (reg) printf(" %s =", reg); + printf(" #\n"); + return; + } if (ix == REGIX_FPSCR) { assert(!(f®F_FMTMASK)); dump_fpflags(lbl, map->fp->fpscr);