1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Update lldb helper for iseq disassembly to use correct var name

This commit is contained in:
Jemma Issroff 2022-05-04 14:27:35 -04:00 committed by Aaron Patterson
parent bff31b3208
commit 3a31b80bea
Notes: git 2022-05-05 04:49:28 +09:00

View file

@ -144,7 +144,7 @@ class IseqDisassembler:
def insn_len(self, target, offset):
size_of_char = self.tChar.GetByteSize()
symbol = target.FindSymbols("insn_len.t")[0].GetSymbol()
symbol = target.FindSymbols("rb_vm_insn_len_info")[0].GetSymbol()
section = symbol.GetStartAddress().GetSection()
addr_of_table = symbol.GetStartAddress().GetOffset()