diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | vm.c | 9 |
2 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Sat Sep 17 22:21:26 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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@ruby-lang.org> * NEWS: cosmetic changes. @@ -50,6 +50,15 @@ void vm_analysis_operand(int insn, int n, VALUE op); 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) { |