summaryrefslogtreecommitdiffstats
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
commit74e3a30a192b3c4085645ae5d168f82cd7aa9ec3 (patch)
tree093e051bc9466f27adbaea757c039aee5564220f /.gdbinit
parentf86a88610fc6a3d1a70be161ee5d5d6bf9f542e9 (diff)
downloadruby-74e3a30a192b3c4085645ae5d168f82cd7aa9ec3.tar.gz
ruby-74e3a30a192b3c4085645ae5d168f82cd7aa9ec3.tar.xz
ruby-74e3a30a192b3c4085645ae5d168f82cd7aa9ec3.zip
merges r20589 from trunk into ruby_1_9_1.
* .gdbinit (rp): fixed typo for T_STRUCT. git-svn-id: http://svn.ruby-lang.org/repos/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 c2a8b28d0..2e882cd19 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 ", \