summaryrefslogtreecommitdiff
path: root/debug.c
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 /debug.c
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
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 2 insertions, 0 deletions
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;