summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-25 00:33:29 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-25 00:33:29 (GMT)
commitb0d93a99495683fc43c55a140b68defd057931f4 (patch)
treeb1848b55dfb3e6e953ef0514aaeb1cc9f9010952
parent95e1c87014159bf853441d6d70b480b32e7eaddc (diff)
debug.c: RSymbol info
* debug.c (ruby_dummy_gdb_enums): force to include struct RSymbol info. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--common.mk1
-rw-r--r--debug.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 339a010..2fa479f 100644
--- a/common.mk
+++ b/common.mk
@@ -1519,6 +1519,7 @@ debug.$(OBJEXT): {$(VPATH)}ruby_assert.h
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
diff --git a/debug.c b/debug.c
index a670716..6483ccd 100644
--- a/debug.c
+++ b/debug.c
@@ -15,6 +15,7 @@
#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 {
} 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;