From 6ff79516221e2766ec38b443a444871444201969 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 1 Jun 2021 14:42:39 +0100 Subject: [PATCH] whoops missing argument --- src/openpower/decoder/isa/pypowersim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openpower/decoder/isa/pypowersim.py b/src/openpower/decoder/isa/pypowersim.py index 99380877..4c3242bf 100644 --- a/src/openpower/decoder/isa/pypowersim.py +++ b/src/openpower/decoder/isa/pypowersim.py @@ -37,7 +37,7 @@ def write_data(mem, fname, offset, sz): val = mem.ld(addr, 8) f.write(struct.pack('>Q', val)) # unsigned long -def sim_check_data(simulator, qemu, check_addr): +def sim_check_data(simulator, qemu, check_addr, msg): addr = check_addr & ~0x7 # align sim_data = simulator.mem.ld(addr, 8, swap=False) qdata = qemu.get_mem(addr, 8)[0] @@ -241,7 +241,7 @@ def run_tst(args, generator, qemu, check_addr = simulator.last_ld_addr msg = "ld" if check_addr is not None: - sim_check_data(simulator, qemu, check_addr) + sim_check_data(simulator, qemu, check_addr, msg) if _pc is None: break -- 2.30.2