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>
Thu, 7 Dec 2023 17:51:21 +0000 (17:51 +0000)
src/openpower/decoder/isa/caller.py

index 19eb9ecdb1096fa8de4bcda11c6f57881471a8f1..794b09dea3ec705afa7e552495852d31766c091a 100644 (file)
@@ -249,7 +249,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