add FROZEN to lldb debug output
This commit is contained in:
parent
025206d0dd
commit
5f05851ae3
@ -111,6 +111,8 @@ def lldb_inspect(debugger, target, result, val):
|
|||||||
flags = val.GetValueForExpressionPath("->flags").GetValueAsUnsigned()
|
flags = val.GetValueForExpressionPath("->flags").GetValueAsUnsigned()
|
||||||
if (flags & RUBY_FL_PROMOTED) == RUBY_FL_PROMOTED:
|
if (flags & RUBY_FL_PROMOTED) == RUBY_FL_PROMOTED:
|
||||||
print >> result, "[PROMOTED] "
|
print >> result, "[PROMOTED] "
|
||||||
|
if (flags & RUBY_FL_FREEZE) == RUBY_FL_FREEZE:
|
||||||
|
print >> result, "[FROZEN] "
|
||||||
flType = flags & RUBY_T_MASK
|
flType = flags & RUBY_T_MASK
|
||||||
if flType == RUBY_T_NONE:
|
if flType == RUBY_T_NONE:
|
||||||
print >> result, 'T_NONE: %s' % val.Dereference()
|
print >> result, 'T_NONE: %s' % val.Dereference()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user