aboutsummaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-07 04:38:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-07 04:38:50 +0000
commit3016b65abff3dbeb26417d70a6aecda3dbe7c843 (patch)
tree1be689531fdb925071d0c107128203394f788c9e /.gdbinit
parent94daa860e5b263f0511478ea5783935d1e16278c (diff)
downloadruby-3016b65abff3dbeb26417d70a6aecda3dbe7c843.tar.gz
.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
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gdbinit b/.gdbinit
index 5e949ab2eb..88e475254c 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -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"