summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-23 03:14:12 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-23 03:14:12 (GMT)
commit717b7fd9c45d50a3fb24e744f61628bc2f5d4b75 (patch)
tree0089abda1a97f617424588a4b5507ad23f902a0c /debug.c
parent8692d74b095e76b7ac68b4bcb72bda8cbcfce872 (diff)
debug.c: include RIMemo in ruby_dummy_gdb_enums
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/debug.c b/debug.c
index 119edee..f811ec6 100644
--- a/debug.c
+++ b/debug.c
@@ -58,8 +58,11 @@ const union {
RUBY_NODE_LSHIFT = NODE_LSHIFT,
RUBY_NODE_FL_NEWLINE = NODE_FL_NEWLINE
} various;
- enum imemo_type imemo_types;
- enum {RUBY_IMEMO_MASK = IMEMO_MASK} imemo_mask;
+ union {
+ enum imemo_type types;
+ enum {RUBY_IMEMO_MASK = IMEMO_MASK} mask;
+ struct RIMemo *ptr;
+ } imemo;
struct RSymbol *symbol_ptr;
enum vm_call_flag_bits vm_call_flags;
} ruby_dummy_gdb_enums;