From 3cfe3051c5808d23443c794008d9a697289d1095 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 2 Oct 2018 19:14:24 +0000 Subject: lldb_rp: reload debug info if not loaded yet [ci skip] As debug infos in shared libraries are not accessible until loaded, retry loading the infos when needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/lldb_cruby.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc') diff --git a/misc/lldb_cruby.py b/misc/lldb_cruby.py index 049f920bdb..d0a0031642 100755 --- a/misc/lldb_cruby.py +++ b/misc/lldb_cruby.py @@ -56,6 +56,9 @@ def flonum_p(x): return (x&RUBY_FLONUM_MASK) == RUBY_FLONUM_FLAG def lldb_rp(debugger, command, result, internal_dict): + if not ('RUBY_Qfalse' in globals()): + lldb_init(debugger) + target = debugger.GetSelectedTarget() process = target.GetProcess() thread = process.GetSelectedThread() -- cgit v1.2.3