aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/common.mk b/common.mk
index e2618db36f..293966d1c5 100644
--- a/common.mk
+++ b/common.mk
@@ -617,10 +617,12 @@ vmasm: vm.$(ASMEXT)
# vm.o : CFLAGS += -fno-crossjumping
run.gdb:
- echo b ruby_debug_breakpoint > run.gdb
- # echo handle SIGINT nostop >> run.gdb
- # echo handle SIGPIPE nostop >> run.gdb
- echo run >> run.gdb
+ echo b ruby_debug_breakpoint > run.gdb
+ echo '# handle SIGINT nostop' >> run.gdb
+ echo '# handle SIGPIPE nostop' >> run.gdb
+ echo '# b rb_longjmp' >> run.gdb
+ echo source $(srcdir)/breakpoints.gdb >> run.gdb
+ echo run >> run.gdb
gdb: miniruby$(EXEEXT) run.gdb PHONY
gdb -x run.gdb --quiet --args $(MINIRUBY) -I$(srcdir)/lib $(srcdir)/test.rb