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

index 35d4db60ccaa5fdd52e1309abc47f173004a3fd7..d3d4a6d7554ef02d0aa470ff3ab57d9cb00455fc 100644 (file)
@@ -245,7 +245,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