summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-05 07:39:47 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-05 07:39:47 (GMT)
commit0133aee46c576594b049629139f587f130ef249b (patch)
treed18e24a8d904a329661b17e1b0761b9897336912 /.gdbinit
parentaf97da84edac2ccbacc9b10661002b1ddf86e7f8 (diff)
* .gdbinit (rp): show type name for RTypedData.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28173 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 61c18cd..2a38da8 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -269,7 +269,7 @@ define rp
else
if ($flags & RUBY_T_MASK) == RUBY_T_DATA
if ((struct RTypedData *)($arg0))->typed_flag == 1
- printf "T_DATA(typed): "
+ printf "T_DATA(%s): ", ((struct RTypedData *)($arg0))->type->wrap_struct_name
print (struct RTypedData *)($arg0)
else
printf "T_DATA: "