.gdbinit: initialize color sequences

* .gdbinit (hook-run): initialize color sequences for each runs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-03-07 04:38:50 +00:00
parent 94daa860e5
commit 3016b65abf
1 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,9 @@
define hook-run
set $color_type = 0
set $color_highlite = 0
set $color_end = 0
end
define ruby_gdb_init
if !$color_type
set $color_type = "\033[31m"