[前][次][番号順一覧][スレッド一覧]

ruby-changes:38016

From: nobu <ko1@a...>
Date: Thu, 26 Mar 2015 15:30:33 +0900 (JST)
Subject: [ruby-changes:38016] nobu:r50097 (trunk): .gdbinit: T_IMEMO

nobu	2015-03-26 15:30:15 +0900 (Thu, 26 Mar 2015)

  New Revision: 50097

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50097

  Log:
    .gdbinit: T_IMEMO
    
    * .gdbinit (rp): add support of T_IMEMO.

  Modified files:
    trunk/.gdbinit
Index: .gdbinit
===================================================================
--- .gdbinit	(revision 50096)
+++ .gdbinit	(revision 50097)
@@ -245,6 +245,12 @@ define rp https://github.com/ruby/ruby/blob/trunk/.gdbinit#L245
     printf "%sT_UNDEF%s: ", $color_type, $color_end
     print (struct RBasic *)($arg0)
   else
+  if ($flags & RUBY_T_MASK) == RUBY_T_IMEMO
+    printf "%sT_IMEMO%s(", $color_type, $color_end
+    output (enum imemo_type)(($flags>>RUBY_FL_USHIFT)&imemo_mask)
+    printf "): "
+    print *((VALUE (*)[4])($arg0))
+  else
   if ($flags & RUBY_T_MASK) == RUBY_T_NODE
     printf "%sT_NODE%s(", $color_type, $color_end
     output (enum node_type)(($flags&RUBY_NODE_TYPEMASK)>>RUBY_NODE_TYPESHIFT)
@@ -260,6 +266,7 @@ define rp https://github.com/ruby/ruby/blob/trunk/.gdbinit#L266
   end
   end
   end
+  end
   end
   end
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]