зеркало из https://github.com/github/ruby.git
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:
Родитель
4e133fdb7e
Коммит
3cfe3051c5
|
@ -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()
|
||||
|
|
Загрузка…
Ссылка в новой задаче