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

ruby-changes:33283

From: nobu <ko1@a...>
Date: Wed, 19 Mar 2014 09:42:30 +0900 (JST)
Subject: [ruby-changes:33283] nobu:r45362 (trunk): .gdbinit: super moved

nobu	2014-03-19 09:42:26 +0900 (Wed, 19 Mar 2014)

  New Revision: 45362

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

  Log:
    .gdbinit: super moved
    
    * .gdbinit (rb_method_entry, rb_ancestors): `super` moved to
      RClass from rb_classext_t since r44294.

  Modified files:
    trunk/.gdbinit
Index: .gdbinit
===================================================================
--- .gdbinit	(revision 45361)
+++ .gdbinit	(revision 45362)
@@ -761,7 +761,7 @@ define rb_method_entry https://github.com/ruby/ruby/blob/trunk/.gdbinit#L761
     rb_numtable_entry $rb_method_entry_klass->m_tbl_wrapper->tbl $rb_method_entry_id
     set $rb_method_entry_me = (rb_method_entry_t *)$rb_numtable_rec
     if !$rb_method_entry_me
-      set $rb_method_entry_klass = (struct RClass *)$rb_method_entry_klass->ptr->super
+      set $rb_method_entry_klass = (struct RClass *)RCLASS_SUPER($rb_method_entry_klass)
     end
   end
   if $rb_method_entry_me
@@ -790,7 +790,7 @@ define rb_ancestors https://github.com/ruby/ruby/blob/trunk/.gdbinit#L790
   set $rb_ancestors_module = $arg0
   while $rb_ancestors_module
     rp_class $rb_ancestors_module
-    set $rb_ancestors_module = ((struct RClass *)($rb_ancestors_module))->ptr.super
+    set $rb_ancestors_module = RCLASS_SUPER($rb_ancestors_module)
   end
 end
 document rb_ancestors

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

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