ruby-changes:25041
From: nobu <ko1@a...>
Date: Fri, 5 Oct 2012 16:28:44 +0900 (JST)
Subject: [ruby-changes:25041] nobu:r37093 (trunk): common.mk: gdb-ruby
nobu 2012-10-05 16:28:32 +0900 (Fri, 05 Oct 2012) New Revision: 37093 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37093 Log: common.mk: gdb-ruby * Makefile.in (RUNRUBY_COMMAND): split from RUNRUBY. * common.mk (gdb-ruby): use runruby.rb to set up library path. Modified files: trunk/Makefile.in trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 37092) +++ common.mk (revision 37093) @@ -954,7 +954,7 @@ gdb -x run.gdb --quiet --args $(MINIRUBY) $(TESTRUN_SCRIPT) gdb-ruby: $(PROGRAM) run.gdb PHONY - gdb -x run.gdb --quiet --args $(PROGRAM) $(TESTRUN_SCRIPT) + $(Q) $(RUNRUBY_COMMAND) $(RUNRUBY_DEBUGGER) -- $(TESTRUN_SCRIPT) dist: $(BASERUBY) $(srcdir)/tool/make-snapshot tmp $(RELNAME) Index: Makefile.in =================================================================== --- Makefile.in (revision 37092) +++ Makefile.in (revision 37093) @@ -89,7 +89,9 @@ RUBY = $(RUBY_INSTALL_NAME) MINIRUBY = @MINIRUBY@\ $(MINIRUBYOPT) -RUNRUBY = @RUNRUBY@ $(RUNRUBYOPT) -- $(RUN_OPTS) +RUNRUBY_COMMAND = @RUNRUBY@ $(RUNRUBYOPT) +RUNRUBY = $(RUNRUBY_COMMAND) -- $(RUN_OPTS) +RUNRUBY_DEBUGGER = --debugger='gdb -x run.gdb --quiet --args' XRUBY = @XRUBY@ BTESTRUBY = @BTESTRUBY@\ $(MINIRUBYOPT) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/