diff options
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -143,6 +143,14 @@ define rp ((struct RBignum*)$arg0)->as.ary : \ ((struct RBignum*)$arg0)->as.heap.digits) else + if ($flags & RUBY_T_MASK) == RUBY_T_RATIONAL + printf "T_RATIONAL: " + rb_p $arg0 + else + if ($flags & RUBY_T_MASK) == RUBY_T_COMPLEX + printf "T_COMPLEX: " + rb_p $arg0 + else if ($flags & RUBY_T_MASK) == RUBY_T_FILE printf "T_FILE: " print (struct RFile *)$arg0 @@ -220,6 +228,8 @@ define rp end end end + end + end end document rp Print a Ruby's VALUE. |