diff options
| author | Ilya Leoshkevich <iii@linux.ibm.com> | 2026-02-10 22:39:00 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2026-02-12 08:43:13 +0100 |
| commit | 5b251330e4822810543b280f39678030e58e2d5a (patch) | |
| tree | 4ea15b98d94c356115895d52bc595b82ee2f9846 | |
| parent | ddb4d9d1748681cfde824d765af6cda4334fcce3 (diff) | |
| download | qemu-5b251330e4822810543b280f39678030e58e2d5a.tar.gz qemu-5b251330e4822810543b280f39678030e58e2d5a.tar.bz2 qemu-5b251330e4822810543b280f39678030e58e2d5a.zip | |
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 <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20260210214044.1174699-2-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
| -rw-r--r-- | target/s390x/cpu-dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
