diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-08-09 13:57:47 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-08-09 14:01:15 +0900 |
commit | 6bf8db9a07e95820705f7ec119f4038a529182ef (patch) | |
tree | b5165573ca3ca4e4106754901d843d71545cf474 /thread.c | |
parent | cb390e87dc682a277579f44fac6aea57e16e5f7a (diff) |
add rp() and bp() in internal.h.
debug utility macro rp() (rp_m()) and bp() are introduced.
* rp(obj) shows obj information w/o any side-effect to STDERR.
* rp_m(m, obj) is similar to rp(obj), but show m before.
* bp() is alias of ruby_debug_breakpoint(), which is registered
as a breakpoint in run.gdb (used by `make gdb` or make gdb-ruby`).
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -66,7 +66,6 @@ #include "ruby/config.h" #include "ruby/io.h" #include "eval_intern.h" -#include "gc.h" #include "timev.h" #include "ruby/thread.h" #include "ruby/thread_native.h" |