Bug #8243
closedruby-debug-base fails because a function is no longer exported
Description
The ruby-debug-base project (now at https://github.com/cldwalker/debugger )
fails with 2.0 giving an error message like
dyld: lazy symbol binding failed: Symbol not found: _rb_vm_get_sourceline
Referenced from: /usr/local/rvm/gems/ruby-2.0.0-p0@apono/bundler/gems/debugger-e98dc5762a48/lib/ruby_debug.bundle
Expected in: flat namespace
When I reinstate this line in vm_backtrace.c the debugger works fine:
RUBY_FUNC_EXPORTED int rb_vm_get_sourceline(const rb_control_frame_t *cfp);
Files
Updated by ericp (Eric Promislow) over 11 years ago
- File bug08243.patch bug08243.patch added
This patch reinstates the RUBY_FUNC_EXPORTED declaration, including
the comment from 1.9.3 stating that a better interface would be used
in the next version. I don't know of any such interface in the 2.0 code.
Updated by bitsweat (Jeremy Daer) over 11 years ago
Hey Eric -
@ko1 (Koichi Sasada) updated it to use the new Ruby 2 debugging API!
See the debugger2 branch: https://github.com/cldwalker/debugger/compare/master...debugger2
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- Status changed from Open to Rejected