ruby-changes:44728
From: naruse <ko1@a...>
Date: Tue, 15 Nov 2016 21:42:10 +0900 (JST)
Subject: [ruby-changes:44728] naruse:r56801 (trunk): Use rb_mod_name instead of classname
naruse 2016-11-15 21:42:04 +0900 (Tue, 15 Nov 2016) New Revision: 56801 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56801 Log: Use rb_mod_name instead of classname classname() is static function. Modified files: trunk/.gdbinit Index: .gdbinit =================================================================== --- .gdbinit (revision 56800) +++ .gdbinit (revision 56801) @@ -875,8 +875,7 @@ end https://github.com/ruby/ruby/blob/trunk/.gdbinit#L875 define rb_classname # up to 128bit int - set $rb_classname_permanent = "0123456789ABCDEF" - set $rb_classname = classname($arg0, $rb_classname_permanent) + set $rb_classname = rb_mod_name($arg0) if $rb_classname != RUBY_Qnil rp $rb_classname else -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/