diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-15 02:04:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-15 02:04:36 +0000 |
commit | b1f3890b57a4a72a9f2b7b5eef445a45791a8ec5 (patch) | |
tree | f11f7d020db8870870a326539cf64a58cea6952c /.gdbinit | |
parent | 63bd8a74e81537ecf2aba0be0f8ef6eec9df2758 (diff) | |
download | ruby-b1f3890b57a4a72a9f2b7b5eef445a45791a8ec5.tar.gz |
* .gdbinit (rp, iseq): load dummy_gdb_enums on demand.
[ruby-dev:38606]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,6 @@ define rp + if dummy_gdb_enums.special_consts + end if (VALUE)($arg0) & RUBY_FIXNUM_FLAG printf "FIXNUM: %ld\n", (long)($arg0) >> 1 else @@ -627,6 +629,8 @@ define rb_backtrace end define iseq + if dummy_gdb_enums.special_consts + end if ($arg0)->type == ISEQ_ELEMENT_NONE echo [none]\n end @@ -648,6 +652,3 @@ define iseq print *(ADJUST*)($arg0) end end - -if dummy_gdb_enums.special_consts -end |