ruby-changes:7953
From: akr <ko1@a...>
Date: Tue, 23 Sep 2008 17:03:55 +0900 (JST)
Subject: [ruby-changes:7953] Ruby:r19475 (trunk): * debug.h (ruby_set_debug_option): declared.
akr 2008-09-23 17:03:41 +0900 (Tue, 23 Sep 2008) New Revision: 19475 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19475 Log: * debug.h (ruby_set_debug_option): declared. * main.c: include debug.h. * common.mk (main.$(OBJEXT)): dependency updated. Modified files: trunk/ChangeLog trunk/common.mk trunk/debug.h trunk/main.c Index: debug.h =================================================================== --- debug.h (revision 19474) +++ debug.h (revision 19475) @@ -29,4 +29,8 @@ void ruby_debug_breakpoint(void); void ruby_debug_gc_check_func(void); +#ifdef RUBY_DEBUG_ENV +void ruby_set_debug_option(const char *str); +#endif + #endif /* RUBY_DEBUG_H */ Index: ChangeLog =================================================================== --- ChangeLog (revision 19474) +++ ChangeLog (revision 19475) @@ -1,3 +1,11 @@ +Tue Sep 23 17:02:47 2008 Tanaka Akira <akr@f...> + + * debug.h (ruby_set_debug_option): declared. + + * main.c: include debug.h. + + * common.mk (main.$(OBJEXT)): dependency updated. + Tue Sep 23 16:59:45 2008 Nobuyoshi Nakada <nobu@r...> * hash.c (ENVMATCH, ENVNMATCH): reduced same code. Index: common.mk =================================================================== --- common.mk (revision 19474) +++ common.mk (revision 19475) @@ -477,7 +477,7 @@ inits.$(OBJEXT): {$(VPATH)}inits.c $(RUBY_H_INCLUDES) io.$(OBJEXT): {$(VPATH)}io.c $(RUBY_H_INCLUDES) {$(VPATH)}io.h \ {$(VPATH)}util.h $(VM_CORE_H_INCLUDES) $(ENCODING_H_INCLUDES) -main.$(OBJEXT): {$(VPATH)}main.c $(RUBY_H_INCLUDES) {$(VPATH)}vm.h +main.$(OBJEXT): {$(VPATH)}main.c $(RUBY_H_INCLUDES) {$(VPATH)}debug.h {$(VPATH)}node.h marshal.$(OBJEXT): {$(VPATH)}marshal.c $(RUBY_H_INCLUDES) \ {$(VPATH)}io.h $(ENCODING_H_INCLUDES) {$(VPATH)}util.h math.$(OBJEXT): {$(VPATH)}math.c $(RUBY_H_INCLUDES) Index: main.c =================================================================== --- main.c (revision 19474) +++ main.c (revision 19475) @@ -11,6 +11,7 @@ #undef RUBY_EXPORT #include "ruby.h" +#include "debug.h" #ifdef HAVE_LOCALE_H #include <locale.h> #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/