insndb/core: fix DX operand
authorDmitry Selyutin <ghostmansd@gmail.com>
Fri, 8 Sep 2023 11:28:31 +0000 (14:28 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Fri, 8 Sep 2023 17:44:29 +0000 (20:44 +0300)
src/openpower/insndb/core.py

index 8e489b46a04c8cc33fcc5e831729698da4f8398f..5c8945cf52a4c22939862f5e12d04bdb14686bb8 100644 (file)
@@ -1650,7 +1650,7 @@ class DOperandDX(SignedOperand):
                 "d2": "[16]",
             }
             for (subname, subspan) in mapping.items():
-                operand = DynamicOperand(name=subname)
+                operand = DynamicOperand(record=self.record, name=subname)
                 span = operand.span
                 span = map(str, span)
                 yield f"{indent}{indent}{operand.name} = D{subspan}"