summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit7
1 files changed, 4 insertions, 3 deletions
diff --git a/.gdbinit b/.gdbinit
index b654563..b153412 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -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