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

ruby-changes:36393

From: nobu <ko1@a...>
Date: Tue, 18 Nov 2014 06:08:40 +0900 (JST)
Subject: [ruby-changes:36393] nobu:r48474 (trunk): .gdbinit: update for r47913

nobu	2014-11-18 06:08:23 +0900 (Tue, 18 Nov 2014)

  New Revision: 48474

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

  Log:
    .gdbinit: update for r47913
    
    * .gdbinit (rp): update for r47913.  RSymbol has id, so needs mask
      by scope mask.

  Modified files:
    trunk/.gdbinit
Index: .gdbinit
===================================================================
--- .gdbinit	(revision 48473)
+++ .gdbinit	(revision 48474)
@@ -212,7 +212,7 @@ define rp https://github.com/ruby/ruby/blob/trunk/.gdbinit#L212
   if ($flags & RUBY_T_MASK) == RUBY_T_SYMBOL
     printf "%sT_SYMBOL%s: ", $color_type, $color_end
     print (struct RSymbol *)($arg0)
-    set $id_type = ((struct RSymbol *)($arg0))->type
+    set $id_type = ((struct RSymbol *)($arg0))->id & RUBY_ID_SCOPE_MASK
     if $id_type == RUBY_ID_LOCAL
       printf "l"
     else

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

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