1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Added install-dbg

Scripts to run the interpreter via debugger.
This commit is contained in:
Nobuyoshi Nakada 2020-06-13 08:09:00 +09:00
parent eabdad5e2f
commit 1f1b62fb7b
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
4 changed files with 43 additions and 3 deletions

6
template/ruby-gdb.in Executable file
View file

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