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 | fd33dc8a857198dbce8f402695f6fe88506d9174 (patch) | |
tree | 984c4f6276efe0227622268eb51b271fde039f6b | |
parent | 368d8242318c925e18bc2e5a06b97e3c61e88fb0 (diff) | |
download | ruby-fd33dc8a857198dbce8f402695f6fe88506d9174.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
-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 |