From 480b4d0a788d1222a57a3964321e68641094df67 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 30 May 2010 00:33:39 +0000 Subject: [PATCH] * .gdbinit (rp): mark singleton classes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- .gdbinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gdbinit b/.gdbinit index ab3962fe04..5bde2604c9 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