diff options
author | Koichi Sasada <[email protected]> | 2021-01-05 16:48:43 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2021-01-05 16:50:00 +0900 |
commit | e91160f7579a572e198067b9c0697c91be1876e7 (patch) | |
tree | 2fb5a5fcd74c6ecc03d862c890dfc6072434e013 | |
parent | b9c1b3f8d82b6f2517786b2f9e06683909af34c3 (diff) |
set RUBY_ON_BUG on runruby rule.
set RUBY_ON_BUG='gdb -x $(srcdir)/.gdbinit -p' to catch SEGV
on `make runruby` rule.
-rw-r--r-- | common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1213,7 +1213,7 @@ run: fake miniruby$(EXEEXT) PHONY $(BTESTRUBY) $(RUNOPT0) $(TESTRUN_SCRIPT) $(RUNOPT) runruby: $(PROGRAM) PHONY - $(RUNRUBY) $(RUNOPT0) $(TESTRUN_SCRIPT) $(RUNOPT) + RUBY_ON_BUG='gdb -x $(srcdir)/.gdbinit -p' $(RUNRUBY) $(RUNOPT0) $(TESTRUN_SCRIPT) $(RUNOPT) parse: fake miniruby$(EXEEXT) PHONY $(BTESTRUBY) --dump=parsetree_with_comment,insns $(TESTRUN_SCRIPT) |