зеркало из https://github.com/github/ruby.git
* common.mk: change "gdb" rule. You can debug miniruby with
$(srcdir)/test.rb on gdb by this rule (type "make gdb"). If you write break points to "breakpoints.gdb" on $srcdir, gdb runs with this file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
fd6f1f0a71
Коммит
e98f7e1eaa
|
@ -1,3 +1,10 @@
|
|||
Mon Feb 26 00:54:36 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* common.mk: change "gdb" rule. You can debug miniruby with
|
||||
$(srcdir)/test.rb on gdb by this rule (type "make gdb").
|
||||
If you write break points to "breakpoints.gdb" on $srcdir,
|
||||
gdb runs with this file.
|
||||
|
||||
Sun Feb 25 11:46:58 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* win32/Makefile.sub: enable -Zi (debug) option.
|
||||
|
|
10
common.mk
10
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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2007-02-25"
|
||||
#define RUBY_RELEASE_DATE "2007-02-26"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20070225
|
||||
#define RUBY_RELEASE_CODE 20070226
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2007
|
||||
#define RUBY_RELEASE_MONTH 2
|
||||
#define RUBY_RELEASE_DAY 25
|
||||
#define RUBY_RELEASE_DAY 26
|
||||
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
RUBY_EXTERN const char ruby_release_date[];
|
||||
|
|
Загрузка…
Ссылка в новой задаче