mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
4e133fdb7e
commit
3cfe3051c5
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue