Skip to content

Commit

Permalink
Fix RCLASS_EXT dump [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 6, 2023
1 parent 582c202 commit 5f50593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/lldb_rb/utils.py
Expand Up @@ -110,7 +110,7 @@ def inspect(self, val):

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())
)
Expand Down

0 comments on commit 5f50593

Please sign in to comment.