diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-02 19:14:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-02 19:14:24 +0000 |
commit | 3cfe3051c5808d23443c794008d9a697289d1095 (patch) | |
tree | 4d392a786b9d39f50925e0ced995f2bad484eb9d /misc | |
parent | 4e133fdb7ed27123c0395a927e7f952b81b5bb2b (diff) | |
download | bundler-3cfe3051c5808d23443c794008d9a697289d1095.tar.gz |
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
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/lldb_cruby.py | 3 |
1 files changed, 3 insertions, 0 deletions
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() |