* ChangeLog: fix a typo for r37938.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2012-11-29

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: fix a typo for r37928.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_backtrace.c: rename Class name from
  ::RubyVM::Backtrace and ::RubyVM::Backtrace::Location
  to ::Thread::Backtrace and ::Thread::Backtrace::Location.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* probes.d: Change function-entry probe to method-entry.
* insns.def: ditto
* probes_helper.h: ditto
* test/dtrace/test_function_entry.rb: ditto
* test/dtrace/test_singleton_function.rb: ditto
* vm.c: ditto
* vm_eval.c: ditto
* vm_insnhelper.c: ditto

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_backtrace.c (backtrace_to_str_ary2): rename to backtrace_to_str_ary.
* vm_backtrace.c (rb_backtrace_to_str_ary): use `backtrace_to_str_ary()'.
* vm_backtrace.c (backtrace_to_frame_ary): rename to
  backtrace_to_location_ary.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (thread_start_func_2): remove unused code. security
  level is checked before rb_eSecurityError raises.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (thread_start_func_2): remove unused code.
  errinfo = th->errinfo; and errinfo = rb_errinfo(); are
  the same.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (thread_start_func_2): remove unused code.
  this function never be used for main thread.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (thread_start_func_2): small cleanups.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_backtrace.c (vm_backtrace_to_ary): support range argument
  like Array#[].
  [ruby-core:50092] [ruby-trunk - Feature #7434]
  Test and document is not available. Please help us.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c (ruby_cleanup): delay THREAD_KILLED timing.
  It should be located just before rb_thread_terminate_all().



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (do_select): suppress warning (uninitialized value warning)
  with UNINITIALIZED_VAR().

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Revert r37953: thread.c (thread_start_func_2): remove unused code. security

This sticks at bootstraptest/test_fork.rb:24 on FreeBSD and darwin.
http://fb.rubyci.org/~chkbuild/ruby-trunk/log/20121128T230302Z.log.html.gz
http://a.mrkn.jp/~mrkn/chkbuild/sl/ruby-trunk-m64-gcc42-o0/log/20121128T235908Z.log.html.gz

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_backtrace.c: use `long' for return values of `NUM2LONG()'.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_backtrace.c: same as a last patch.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e