tool/runruby.rb: load .gdbinit explicitly
This commit is contained in:
parent
6b66a76f43
commit
5859ea1b1b
@ -134,7 +134,7 @@ ENV.update env
|
||||
|
||||
if debugger or ENV['RUNRUBY_USE_GDB'] == 'true'
|
||||
if debugger == :gdb or !debugger
|
||||
debugger = %w'gdb'
|
||||
debugger = %W'gdb -x #{srcdir}/.gdbinit'
|
||||
if File.exist?(gdb = 'run.gdb') or
|
||||
File.exist?(gdb = File.join(abs_archdir, 'run.gdb'))
|
||||
debugger.push('-x', gdb)
|
||||
|
Loading…
x
Reference in New Issue
Block a user