diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-18 10:19:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-18 10:19:52 +0000 |
commit | c85cdc12a4739c8d6d03139b896bf6685ab15408 (patch) | |
tree | 984c4f6276efe0227622268eb51b271fde039f6b /.gdbinit | |
parent | a5330fa9eac68ba8b8ed70ed1713f9524b25105b (diff) | |
download | ruby-c85cdc12a4739c8d6d03139b896bf6685ab15408.tar.gz |
.gdbinit: RArray in history [ci skip]
* .gdbinit (rp): put the contents of RArray in value history, for
later use.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -124,7 +124,7 @@ define rp if ($len == 0) printf "{(empty)} " else - output/x *((VALUE*)((struct RArray*)($arg0))->as.ary) @ $len + print/x *((VALUE*)((struct RArray*)($arg0))->as.ary) @ $len printf " " end else @@ -140,7 +140,7 @@ define rp if ($len == 0) printf "{(empty)} " else - output/x *((VALUE*)((struct RArray*)($arg0))->as.heap.ptr) @ $len + print/x *((VALUE*)((struct RArray*)($arg0))->as.heap.ptr) @ $len printf " " end end |