File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1421,11 +1421,14 @@ $(srcdir)/ext/etc/constdefs.h: $(srcdir)/ext/etc/depend
14211421run : yes-fake miniruby$(EXEEXT ) PHONY
14221422 $(BTESTRUBY ) $(RUNOPT0 ) $(TESTRUN_SCRIPT ) $(RUNOPT )
14231423
1424+ # Don't use RUBY_ON_BUG if MSC_VER is present
1425+ RUBY_ON_BUG_SPEC$(MSC_VER) = RUBY_ON_BUG='gdb -x $(srcdir ) /.gdbinit -p'
1426+
14241427runruby : $(PROGRAM ) PHONY
1425- RUBY_ON_BUG= ' gdb -x $(srcdir)/.gdbinit -p ' $(RUNRUBY ) $(RUNOPT0 ) $(TESTRUN_SCRIPT ) $(RUNOPT )
1428+ $( RUBY_ON_BUG_SPEC ) $(RUNRUBY ) $(RUNOPT0 ) $(TESTRUN_SCRIPT ) $(RUNOPT )
14261429
14271430runirb : $(PROGRAM ) update-default-gemspecs
1428- RUBY_ON_BUG= ' gdb -x $(srcdir)/.gdbinit -p ' $(RUNRUBY ) $(RUNOPT0 ) -rrubygems -r irb -e ' IRB.start("make runirb")' $(RUNOPT )
1431+ $( RUBY_ON_BUG_SPEC ) $(RUNRUBY ) $(RUNOPT0 ) -rrubygems -r irb -e ' IRB.start("make runirb")' $(RUNOPT )
14291432
14301433parse : yes-fake miniruby$(EXEEXT ) PHONY
14311434 $(BTESTRUBY ) --dump=parsetree_with_comment,insns $(TESTRUN_SCRIPT )
You can’t perform that action at this time.
0 commit comments