aboutsummaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-15 12:42:04 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-15 12:42:04 +0000
commited83af606af04f084bb4bd6447bca83b0f7a0483 (patch)
treef19d7319ae5de5ca02e67489ca32451c1ef549db /.gdbinit
parentaf36e316d76b13e9724c4507d015de8466f2cd4a (diff)
downloadruby-ed83af606af04f084bb4bd6447bca83b0f7a0483.tar.gz
Use rb_mod_name instead of classname
classname() is static function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit3
1 files changed, 1 insertions, 2 deletions
diff --git a/.gdbinit b/.gdbinit
index 11611e8c24..ab6eac45d9 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -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