ruby-changes:17581
From: ko1 <ko1@a...>
Date: Mon, 25 Oct 2010 03:00:28 +0900 (JST)
Subject: [ruby-changes:17581] Ruby:r29586 (trunk): * common.mk (run.gdb): Quit gdb on 'make gdb' when
ko1 2010-10-25 03:00:20 +0900 (Mon, 25 Oct 2010) New Revision: 29586 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29586 Log: * common.mk (run.gdb): Quit gdb on 'make gdb' when no signals are received. Modified files: trunk/ChangeLog trunk/common.mk Index: ChangeLog =================================================================== --- ChangeLog (revision 29585) +++ ChangeLog (revision 29586) @@ -1,3 +1,8 @@ +Mon Oct 25 02:57:21 2010 Koichi Sasada <ko1@a...> + + * common.mk (run.gdb): Quit gdb on 'make gdb' when + no signals are received. + Mon Oct 25 00:25:23 2010 Tadayoshi Funaba <tadf@d...> * lib/date.rb: some corrections of documentation. Index: common.mk =================================================================== --- common.mk (revision 29585) +++ common.mk (revision 29586) @@ -809,8 +809,13 @@ echo '# b rb_longjmp' >> run.gdb echo source $(srcdir)/breakpoints.gdb >> run.gdb echo source $(srcdir)/.gdbinit >> run.gdb + echo 'set $$_exitcode = -999' >> run.gdb echo run >> run.gdb + echo 'if $$_exitcode != -999' >> run.gdb + echo ' quit' >> run.gdb + echo end >> run.gdb + gdb: miniruby$(EXEEXT) run.gdb PHONY gdb -x run.gdb --quiet --args $(MINIRUBY) $(TESTRUN_SCRIPT) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/