Undo log in isa/caller reg dump
authorLauri Kasanen <cand@gmx.com>
Wed, 26 May 2021 08:14:14 +0000 (11:14 +0300)
committerLauri Kasanen <cand@gmx.com>
Wed, 26 May 2021 08:14:14 +0000 (11:14 +0300)
src/openpower/decoder/isa/caller.py

index 925041bfc7bf59c65f077103e9e1128b7b81ed63..2ac4c320f6f3bc00044431bac702767f15939e6a 100644 (file)
@@ -136,7 +136,7 @@ class GPR(dict):
                 for j in range(8):
                     s.append("%08x" % res[i+j])
                 s = ' '.join(s)
-                log("reg", "%2d" % i, s)
+                print("reg", "%2d" % i, s)
         return res
 
 
@@ -211,7 +211,7 @@ class SPR(dict):
             res.append((sprname, self[k].value))
         if printout:
             for sprname, value in res:
-                log("    ", sprname, hex(value))
+                print("    ", sprname, hex(value))
         return res