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:
parent
59d48e5571
commit
1ccdddb7e4
1 changed files with 1 additions and 1 deletions
2
.gdbinit
2
.gdbinit
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue