summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-09 03:08:49 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-09 03:08:49 (GMT)
commite44aeea84a9db35c0759937c22c36e0f2774a68a (patch)
tree9e8fdfe39edfc27a8cd9e7247acd64f752a8c748
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
-rw-r--r--.gdbinit2
-rw-r--r--ChangeLog4
2 files changed, 5 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index c2a8b28..2e882cd 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 ", \
diff --git a/ChangeLog b/ChangeLog
index 023416f..1c0e40d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Dec 9 12:08:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * .gdbinit (rp): fixed typo for T_STRUCT.
+
Tue Dec 9 11:50:46 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* pack.c (pack_pck): fixed [ruby-dev:37295].