lldb: teach rp about T_PAYLOAD
This commit is contained in:
parent
d1bd4e233c
commit
b0b7751f3b
Notes:
git
2021-05-06 22:18:49 +09:00
@ -330,6 +330,9 @@ def lldb_inspect(debugger, target, result, val):
|
||||
elif flType == RUBY_T_HASH:
|
||||
result.write("T_HASH: %s" % flaginfo)
|
||||
append_command_output(debugger, "p *(struct RHash *) %0#x" % val.GetValueAsUnsigned(), result)
|
||||
elif flType == RUBY_T_PAYLOAD:
|
||||
result.write("T_PAYLOAD: %s" % flaginfo)
|
||||
append_command_output(debugger, "p *(struct RPayload *) %0#x" % val.GetValueAsUnsigned(), result)
|
||||
elif flType == RUBY_T_BIGNUM:
|
||||
tRBignum = target.FindFirstType("struct RBignum").GetPointerType()
|
||||
val = val.Cast(tRBignum)
|
||||
|
Loading…
x
Reference in New Issue
Block a user