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-lldb.in
Nobuyoshi Nakada 1f1b62fb7b
Added install-dbg
Scripts to run the interpreter via debugger.
2020-06-13 08:22:06 +09:00

6 lines
190 B
Bash
Executable file

#!/bin/sh
prefix="/${0%/*}"
prefix="${prefix%/*}"
ruby="${bindir}/${RUBY_INSTALL_NAME}"
lldbinit="${rubylibdir}/lldb_cruby.py"
exec lldb -O "command script import $lldbinit" "$ruby" -- "$@"