From 3dfe270fe3b753fc02466d3d51748c47101f8c45 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 19 Mar 2014 00:42:26 +0000 Subject: .gdbinit: super moved * .gdbinit (rb_method_entry, rb_ancestors): `super` moved to RClass from rb_classext_t since r44294. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- .gdbinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.gdbinit') diff --git a/.gdbinit b/.gdbinit index 17be7d8779..9c50692f3c 100644 --- a/.gdbinit +++ b/.gdbinit @@ -761,7 +761,7 @@ define rb_method_entry 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 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 -- cgit v1.2.3