Project

General

Profile

Bug #8243 ยป bug08243.patch

Patch for fix - ericp (Eric Promislow), 04/10/2013 06:17 AM

View differences:

vm_backtrace.c (working copy)
return rb_iseq_line_no(iseq, pc - iseq->iseq_encoded);
}
/*
* 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 int rb_vm_get_sourceline(const rb_control_frame_t *cfp);
int
rb_vm_get_sourceline(const rb_control_frame_t *cfp)
{
    (1-1/1)