tool/runruby.rb: load the default lldb scripts
This commit is contained in:
parent
5859ea1b1b
commit
26d02cc7cd
@ -142,7 +142,12 @@ if debugger or ENV['RUNRUBY_USE_GDB'] == 'true'
|
||||
debugger << '--args'
|
||||
end
|
||||
if debugger == :lldb
|
||||
debugger = %w'lldb --'
|
||||
debugger = ['lldb', '-O', "command script import #{srcdir}/misc/lldb_cruby.py"]
|
||||
if File.exist?(lldb = 'run.lldb') or
|
||||
File.exist?(lldb = File.join(abs_archdir, 'run.lldb'))
|
||||
debugger.push('-s', lldb)
|
||||
end
|
||||
debugger << '--'
|
||||
end
|
||||
|
||||
if idx = precommand.index(:debugger)
|
||||
|
Loading…
x
Reference in New Issue
Block a user