Skip to content

Commit

Permalink
Use rb_mod_name instead of classname
Browse files Browse the repository at this point in the history
classname() is static function.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Nov 15, 2016
1 parent af36e31 commit ed83af6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .gdbinit
Original file line number Diff line number Diff line change
Expand Up @@ -875,8 +875,7 @@ end

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
Expand Down

0 comments on commit ed83af6

Please sign in to comment.