ruby-changes:64747
From: Koichi <ko1@a...>
Date: Tue, 5 Jan 2021 16:50:20 +0900 (JST)
Subject: [ruby-changes:64747] e91160f757 (master): set RUBY_ON_BUG on runruby rule.
https://git.ruby-lang.org/ruby.git/commit/?id=e91160f757 From e91160f7579a572e198067b9c0697c91be1876e7 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Tue, 5 Jan 2021 16:48:43 +0900 Subject: set RUBY_ON_BUG on runruby rule. set RUBY_ON_BUG='gdb -x $(srcdir)/.gdbinit -p' to catch SEGV on `make runruby` rule. diff --git a/common.mk b/common.mk index fe6c5cf..b89605e 100644 --- a/common.mk +++ b/common.mk @@ -1213,7 +1213,7 @@ run: fake miniruby$(EXEEXT) PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1213 $(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) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/