summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-12 14:54:45 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-12 14:54:45 +0000
commitd8359a45d95a6fa5d770b1ab37bf6ff82dd77594 (patch)
tree093e051bc9466f27adbaea757c039aee5564220f /.gdbinit
parent6ecdf87bdb690eb7de14de6d09e1c488ad70fb5f (diff)
merges r20589 from trunk into ruby_1_9_1.
* .gdbinit (rp): fixed typo for T_STRUCT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20678 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 ", \