diff options
author | Koichi Sasada <[email protected]> | 2019-08-09 13:57:47 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2019-08-09 14:01:15 +0900 |
commit | 6bf8db9a07e95820705f7ec119f4038a529182ef (patch) | |
tree | b5165573ca3ca4e4106754901d843d71545cf474 /gc.h | |
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 'gc.h')
-rw-r--r-- | gc.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -100,7 +100,6 @@ int ruby_get_stack_grow_direction(volatile VALUE *addr); const char *rb_obj_info(VALUE obj); const char *rb_raw_obj_info(char *buff, const int buff_size, VALUE obj); -void rb_obj_info_dump(VALUE obj); VALUE rb_gc_disable_no_rest(void); |