diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-13 01:36:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-13 01:36:29 +0000 |
commit | 2e5422a28ca6af5fd592dd88f790f0a9af4b3cb0 (patch) | |
tree | c1e52daff6d2fae8565130f6d5b4d3405b0902ff /.gdbinit | |
parent | d35e7b5be2a98c05ab396193bcead9f253ad512f (diff) | |
download | ruby-2e5422a28ca6af5fd592dd88f790f0a9af4b3cb0.tar.gz |
.gdbinit: initialize
* .gdbinit (ruby_gdb_init): initialize enums.
* .gdbinit (rb_id2name): initialize debug info too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,14 +14,14 @@ define ruby_gdb_init if !$color_end set $color_end = "\033[m" end + if ruby_dummy_gdb_enums.special_consts + end end # set prompt \033[36m(gdb)\033[m\040 define rp ruby_gdb_init - if ruby_dummy_gdb_enums.special_consts - end if (VALUE)($arg0) & RUBY_FIXNUM_FLAG printf "FIXNUM: %ld\n", (long)($arg0) >> 1 else @@ -745,6 +745,7 @@ define rb_numtable_entry end define rb_id2name + ruby_gdb_init printf "%sID%s: ", $color_type, $color_end rp_id $arg0 end |