* .gdbinit (rp): fixed typo for T_STRUCT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e41fb7d4ae
commit
e44aeea84a
2
.gdbinit
2
.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 ", \
|
||||
|
Loading…
x
Reference in New Issue
Block a user