ruby-changes:48766
From: nobu <ko1@a...>
Date: Thu, 23 Nov 2017 12:14:18 +0900 (JST)
Subject: [ruby-changes:48766] nobu:r60882 (trunk): debug.c: include RIMemo in ruby_dummy_gdb_enums
nobu 2017-11-23 12:14:12 +0900 (Thu, 23 Nov 2017) New Revision: 60882 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60882 Log: debug.c: include RIMemo in ruby_dummy_gdb_enums Modified files: trunk/debug.c Index: debug.c =================================================================== --- debug.c (revision 60881) +++ debug.c (revision 60882) @@ -58,8 +58,11 @@ const union { https://github.com/ruby/ruby/blob/trunk/debug.c#L58 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; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/