ruby-changes:21240
From: nobu <ko1@a...>
Date: Sat, 17 Sep 2011 22:21:40 +0900 (JST)
Subject: [ruby-changes:21240] nobu:r33289 (ruby_1_9_3): * vm.c (rb_vm_make_env_object, rb_vm_get_sourceline): export as a
nobu 2011-09-17 22:21:29 +0900 (Sat, 17 Sep 2011) New Revision: 33289 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33289 Log: * vm.c (rb_vm_make_env_object, rb_vm_get_sourceline): export as a workaround for ruby-debug19 for the time being. [ruby-core:38972] [Bug #5193] Modified files: branches/ruby_1_9_3/ChangeLog branches/ruby_1_9_3/vm.c Index: ruby_1_9_3/ChangeLog =================================================================== --- ruby_1_9_3/ChangeLog (revision 33288) +++ ruby_1_9_3/ChangeLog (revision 33289) @@ -1,3 +1,9 @@ +Sat Sep 17 22:21:26 2011 Nobuyoshi Nakada <nobu@r...> + + * vm.c (rb_vm_make_env_object, rb_vm_get_sourceline): export as a + workaround for ruby-debug19 for the time being. + [ruby-core:38972] [Bug #5193] + Fri Sep 16 01:08:19 2011 NAKAMURA Usaku <usa@r...> * NEWS: cosmetic changes. Index: ruby_1_9_3/vm.c =================================================================== --- ruby_1_9_3/vm.c (revision 33288) +++ ruby_1_9_3/vm.c (revision 33289) @@ -50,6 +50,15 @@ void vm_analysis_register(int reg, int isset); void vm_analysis_insn(int insn); +/* + * TODO: replace with better interface at the next release. + * + * these functions are exported just as a workaround for ruby-debug + * for the time being. + */ +RUBY_FUNC_EXPORTED VALUE rb_vm_make_env_object(rb_thread_t *th, rb_control_frame_t *cfp); +RUBY_FUNC_EXPORTED int rb_vm_get_sourceline(const rb_control_frame_t *cfp); + void rb_vm_change_state(void) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/