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:
parent
eabdad5e2f
commit
1f1b62fb7b
4 changed files with 43 additions and 3 deletions
6
template/ruby-gdb.in
Executable file
6
template/ruby-gdb.in
Executable 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" "$@"
|
Loading…
Add table
Add a link
Reference in a new issue