[前][次][番号順一覧][スレッド一覧]

ruby-changes:48295

From: nobu <ko1@a...>
Date: Wed, 25 Oct 2017 09:33:38 +0900 (JST)
Subject: [ruby-changes:48295] nobu:r60409 (trunk): debug.c: RSymbol info

nobu	2017-10-25 09:33:29 +0900 (Wed, 25 Oct 2017)

  New Revision: 60409

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60409

  Log:
    debug.c: RSymbol info
    
    * debug.c (ruby_dummy_gdb_enums): force to include struct RSymbol
      info.

  Modified files:
    trunk/common.mk
    trunk/debug.c
Index: common.mk
===================================================================
--- common.mk	(revision 60408)
+++ common.mk	(revision 60409)
@@ -1519,6 +1519,7 @@ debug.$(OBJEXT): {$(VPATH)}ruby_assert.h https://github.com/ruby/ruby/blob/trunk/common.mk#L1519
 debug.$(OBJEXT): {$(VPATH)}ruby_atomic.h
 debug.$(OBJEXT): {$(VPATH)}st.h
 debug.$(OBJEXT): {$(VPATH)}subst.h
+debug.$(OBJEXT): {$(VPATH)}symbol.h
 debug.$(OBJEXT): {$(VPATH)}thread_$(THREAD_MODEL).h
 debug.$(OBJEXT): {$(VPATH)}thread_native.h
 debug.$(OBJEXT): {$(VPATH)}util.h
Index: debug.c
===================================================================
--- debug.c	(revision 60408)
+++ debug.c	(revision 60409)
@@ -15,6 +15,7 @@ https://github.com/ruby/ruby/blob/trunk/debug.c#L15
 #include "vm_debug.h"
 #include "eval_intern.h"
 #include "vm_core.h"
+#include "symbol.h"
 #include "id.h"
 
 /* for gdb */
@@ -59,6 +60,7 @@ const union { https://github.com/ruby/ruby/blob/trunk/debug.c#L60
     } various;
     enum imemo_type             imemo_types;
     enum {RUBY_IMEMO_MASK = IMEMO_MASK} imemo_mask;
+    struct RSymbol *symbol_ptr;
 } ruby_dummy_gdb_enums;
 
 const SIGNED_VALUE RUBY_NODE_LMASK = NODE_LMASK;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]