call log, not print
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 16 Oct 2023 23:08:44 +0000 (16:08 -0700)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 1 Dec 2023 17:58:20 +0000 (17:58 +0000)
src/openpower/decoder/isa/caller.py

index b5e37a581709ca2be8f0562e462efe142ce37f8b..c5ed6857fdc3c0308409389c3fbae882e699c4fe 100644 (file)
@@ -246,7 +246,7 @@ class GPR(dict):
                 for j in range(8):
                     s.append("%08x" % res[i+j])
                 s = ' '.join(s)
-                print("reg", "%2d" % i, s)
+                log("reg", "%2d" % i, s, kind=LogType.InstrInOuts)
         return res