diff --git a/misc/lldb_rb/utils.py b/misc/lldb_rb/utils.py index 26517b7fee..e18e468ca5 100644 --- a/misc/lldb_rb/utils.py +++ b/misc/lldb_rb/utils.py @@ -110,7 +110,7 @@ class RbInspector(LLDBInterface): self._append_expression("*(struct RClass*)%0#x" % val.GetValueAsUnsigned()) if not val.Cast(tRClass).GetChildMemberWithName("ptr").IsValid(): - self._append_command_expression( + self._append_expression( "*(struct rb_classext_struct*)%0#x" % (val.GetValueAsUnsigned() + tRClass.GetByteSize()) )