summaryrefslogtreecommitdiff
path: root/python/architecture.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/architecture.py')
-rw-r--r--python/architecture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/architecture.py b/python/architecture.py
index 04179e7f..c4179b00 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -231,7 +231,7 @@ class Architecture(object):
for j in xrange(0, info.topRelativeCount):
top_rel.append(core.BNGetArchitectureRegisterName(self.handle, info.firstTopRelativeReg + j))
top = core.BNGetArchitectureRegisterName(self.handle, info.stackTopReg)
- self.reg_stacks[name] = function.RegisterStackInfo(storage, top_rel, top)
+ self.reg_stacks[name] = function.RegisterStackInfo(storage, top_rel, top, regs[i])
core.BNFreeRegisterList(regs)
else:
startup._init_plugins()