ruby-cvs:19431
From: ko1 ruby-lang.org
Date: Thu, 19 Apr 2007 19:37:10 +0900 (JST)
Subject: [ruby-cvs:19431] Ruby:r12195:
ko1 2007-04-19 19:37:08 +0900 (Thu, 19 Apr 2007)
New Revision: 12195
Modified files:
trunk/ChangeLog
trunk/compile.c
trunk/compile.h
trunk/eval.c
trunk/eval_intern.h
trunk/insns.def
trunk/iseq.c
trunk/node.h
trunk/test/ruby/test_settracefunc.rb
trunk/thread.c
trunk/vm.c
trunk/vm_macro.def
trunk/vm_opts.h
trunk/yarvcore.c
trunk/yarvcore.h
Log:
* eval.c, node.h, thread.c, yarvcore.[ch], eval_intern.h:
support set_trace_func (incomplete. id and klass
don't be passed). And support Thread#set_trace_func
which hook only specified thread and Thread#add_trace_func
which add new trace func instead of replace old one.
C level API was modified. See thread.c (logic) and
yarvcore.h (data structures).
* vm.c, vm_macro.def: add hook points.
* compile.c, insns.def: fix "trace" instruction.
* iseq.c, vm_macro.h: add compile option "trace_instruction".
* test/ruby/test_settracefunc.rb: hook "c-return" of set_trace_func.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/vm_opts.h?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/node.h?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/compile.c?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/yarvcore.h?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/vm_macro.def?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/thread.c?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/eval.c?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/iseq.c?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/vm.c?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_settracefunc.rb?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/compile.h?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/insns.def?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/yarvcore.c?r1=12195&r2=12194
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/eval_intern.h?r1=12195&r2=12194