summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
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;