summaryrefslogtreecommitdiff
path: root/misc/lldb_rb/commands/print_flags_command.py
diff options
context:
space:
mode:
-rw-r--r--misc/lldb_rb/commands/print_flags_command.py2
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ class PrintFlagsCommand(RbBaseCommand):
# call is where our command logic will be implemented
def call(self, debugger, command, exe_ctx, result):
- rclass_t = self.target.FindFirstType("struct RBasic")
rcass_ptr = self.target.EvaluateExpression(command).Cast(rclass_t.GetPointerType())
obj_flags = rcass_ptr.GetValueForExpressionPath("->flags").GetValueAsUnsigned()