Bug #8243 ยป bug08243.patch
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)
|
||
{
|