ruby-changes:66088
From: Matt <ko1@a...>
Date: Thu, 6 May 2021 22:18:43 +0900 (JST)
Subject: [ruby-changes:66088] b0b7751f3b (master): lldb: teach rp about T_PAYLOAD
https://git.ruby-lang.org/ruby.git/commit/?id=b0b7751f3b From b0b7751f3b94e7983d124e43102f76ff598caabd Mon Sep 17 00:00:00 2001 From: Matt Valentine-House <matt@e...> Date: Wed, 28 Apr 2021 14:56:02 +0100 Subject: lldb: teach rp about T_PAYLOAD --- misc/lldb_cruby.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/lldb_cruby.py b/misc/lldb_cruby.py index b694313..d169371 100755 --- a/misc/lldb_cruby.py +++ b/misc/lldb_cruby.py @@ -330,6 +330,9 @@ def lldb_inspect(debugger, target, result, val): https://github.com/ruby/ruby/blob/trunk/misc/lldb_cruby.py#L330 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) -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/