X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/2409953140a979f32e0cb7cbce2517df59341958..4ff9d579bfb438187bb69ed60a5b23b0c7a55dfd:/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);