From: Ilya Leoshkevich Date: Tue, 10 Feb 2026 21:39:00 +0000 (+0100) Subject: target/s390x: Dump Floating-Point-Control Register X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b251330e4822810543b280f39678030e58e2d5a;p=thirdparty%2Fqemu.git target/s390x: Dump Floating-Point-Control Register Knowing the value of this register is very useful for debugging floating-point code. Reviewed-by: Alex Bennée Reviewed-by: Thomas Huth Signed-off-by: Ilya Leoshkevich Message-ID: <20260210214044.1174699-2-iii@linux.ibm.com> Signed-off-by: Thomas Huth --- diff --git a/target/s390x/cpu-dump.c b/target/s390x/cpu-dump.c index 869d3a4ad5..5b85292803 100644 --- a/target/s390x/cpu-dump.c +++ b/target/s390x/cpu-dump.c @@ -63,6 +63,7 @@ void s390_cpu_dump_state(CPUState *cs, FILE *f, int flags) (i % 4) == 3 ? '\n' : ' '); } } + qemu_fprintf(f, "FPC=%08" PRIx32 "\n", env->fpc); } #ifndef CONFIG_USER_ONLY