aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-05-17 13:01:47 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-10 12:09:35 -0400
commitce8540fde2cb535923a52a012f57b418eea85e1b (patch)
treea0de4947729ec0a46ff1a360e6c1976421a87811
parent4a39181db284167111ff1b27bffe7599543e930f (diff)
downloadqemu-ce8540fde2cb535923a52a012f57b418eea85e1b.zip
qemu-ce8540fde2cb535923a52a012f57b418eea85e1b.tar.gz
qemu-ce8540fde2cb535923a52a012f57b418eea85e1b.tar.bz2
target/i386: Fix OUTL debug output
Fix OUTL instructions incorrectly displayed as OUTW. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200517110147.26026-1-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--target/i386/misc_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/misc_helper.c b/target/i386/misc_helper.c
index 7d61221..b6b1d41 100644
--- a/target/i386/misc_helper.c
+++ b/target/i386/misc_helper.c
@@ -70,7 +70,7 @@ target_ulong helper_inw(CPUX86State *env, uint32_t port)
void helper_outl(CPUX86State *env, uint32_t port, uint32_t data)
{
#ifdef CONFIG_USER_ONLY
- fprintf(stderr, "outw: port=0x%04x, data=%08x\n", port, data);
+ fprintf(stderr, "outl: port=0x%04x, data=%08x\n", port, data);
#else
address_space_stl(&address_space_io, port, data,
cpu_get_mem_attrs(env), NULL);