summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-09 03:08:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-09 03:08:49 +0000
commite44aeea84a9db35c0759937c22c36e0f2774a68a (patch)
tree9e8fdfe39edfc27a8cd9e7247acd64f752a8c748 /.gdbinit
parente41fb7d4ae6a421d0950201864817ef6cd892b82 (diff)
* .gdbinit (rp): fixed typo for T_STRUCT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20589 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 c2a8b28d0b..2e882cd19b 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -158,7 +158,7 @@ define rp
print (struct RStruct *)$arg0
x/xw (($flags & (RUBY_FL_USER1|RUBY_FL_USER2)) ? \
((struct RStruct *)$arg0)->as.ary : \
- ((struct RStruct *)$arg0)->as.heap.len)
+ ((struct RStruct *)$arg0)->as.heap.ptr)
else
if ($flags & RUBY_T_MASK) == RUBY_T_BIGNUM
printf "T_BIGNUM: sign=%d len=%ld ", \