aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-08-09 13:57:47 +0900
committerKoichi Sasada <ko1@atdot.net>2019-08-09 14:01:15 +0900
commit6bf8db9a07e95820705f7ec119f4038a529182ef (patch)
treeb5165573ca3ca4e4106754901d843d71545cf474 /thread.c
parentcb390e87dc682a277579f44fac6aea57e16e5f7a (diff)
downloadruby-6bf8db9a07e95820705f7ec119f4038a529182ef.tar.gz
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index f9fc70f3cf..0f8b512405 100644
--- a/thread.c
+++ b/thread.c
@@ -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"