summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-30 00:33:39 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-30 00:33:39 (GMT)
commit480b4d0a788d1222a57a3964321e68641094df67 (patch)
tree570c38477df7f90b6f81d055233856fd37aa68a1 /.gdbinit
parent45f6fbf339e3666ea1e64d9e13fd40c61977248d (diff)
* .gdbinit (rp): mark singleton classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index ab3962f..5bde260 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -105,7 +105,7 @@ define rp
print (struct RObject *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_CLASS
- printf "T_CLASS: "
+ printf "T_CLASS%s: ", ($flags & RUBY_FL_SINGLETON) ? "*" : ""
print (struct RClass *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_ICLASS