diff --git a/misc/lldb_cruby.py b/misc/lldb_cruby.py index b6ac231cee..53e42b711c 100755 --- a/misc/lldb_cruby.py +++ b/misc/lldb_cruby.py @@ -190,9 +190,8 @@ def string2cstr(rstring): cptr = int(rstring.GetValueForExpressionPath(".as.heap.ptr").value, 0) clen = int(rstring.GetValueForExpressionPath(".as.heap.len").value, 0) else: - # cptr = int(rstring.GetValueForExpressionPath(".as.embed.ary").location, 0) + cptr = int(rstring.GetValueForExpressionPath(".as.embed.ary").location, 0) # clen = int(rstring.GetValueForExpressionPath(".as.embed.len").value, 0) - cptr = int(rstring.GetValueForExpressionPath(".as.ary").location, 0) clen = (flags & RSTRING_EMBED_LEN_MASK) >> RSTRING_EMBED_LEN_SHIFT return cptr, clen