1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

.gdbinit: insert a colon

* .gdbinit (rp): insert a colon between type "SYMBOL" and ID value.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-09-27 02:18:07 +00:00
parent 59d48e5571
commit 1ccdddb7e4

View file

@ -27,7 +27,7 @@ define rp
else
if ((VALUE)($arg0) & ~(~(VALUE)0<<RUBY_SPECIAL_SHIFT)) == RUBY_SYMBOL_FLAG
set $id = (($arg0) >> RUBY_SPECIAL_SHIFT)
printf "%sSYMBOL%s", $color_type, $color_end
printf "%sSYMBOL%s: ", $color_type, $color_end
rp_id $id
else
if ($arg0) == RUBY_Qfalse