1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/template/ruby-gdb.in
Nobuyoshi Nakada 1f1b62fb7b
Added install-dbg
Scripts to run the interpreter via debugger.
2020-06-13 08:22:06 +09:00

6 lines
170 B
Bash
Executable file

#!/bin/sh
prefix="/${0%/*}"
prefix="${prefix%/*}"
ruby="${bindir}/${RUBY_INSTALL_NAME}"
gdbinit="${rubylibdir}/gdbinit"
exec gdb --command="$gdbinit" --args "$ruby" "$@"