diff options
Diffstat (limited to 'tool/runruby.rb')
-rwxr-xr-x | tool/runruby.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/runruby.rb b/tool/runruby.rb index d240914f3c..1f5ca2fb7f 100755 --- a/tool/runruby.rb +++ b/tool/runruby.rb @@ -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) |