Bug #7259
ruby-debug-base19x does not compile on 2.0.0-head
Description
I'm trying to make ruby-debug-base19x used by IDE debugger work on 2.0.0-head. I've managed to get it mostly compiling (latest sources are at https://github.com/ruby-debug/ruby-debug-base19) and found one major problem: rb_vm_get_sourceline is no longer exported which results in following:
(({dyld: lazy symbol binding failed: Symbol not found: _rb_vm_get_sourceline
Referenced from: /Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace
dyld: Symbol not found: _rb_vm_get_sourceline
Referenced from: /Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace}))
I remember that RUBY_FUNC_EXPORTED was added as a workaround for 1.9.3 (http://bugs.ruby-lang.org/issues/5193), but it's no longer present on head.
Is there some new API we should be using?
Related issues
History
#1
[ruby-core:48927]
Updated by mame (Yusuke Endoh) over 5 years ago
- Status changed from Open to Assigned
- Assignee set to ko1 (Koichi Sasada)
Ko1, what do you think about?
--
Yusuke Endoh mame@tsg.ne.jp
#2
[ruby-core:49372]
Updated by ko1 (Koichi Sasada) over 5 years ago
" [ruby-trunk - Bug #7214] Ruby 2.0 breaks support for some debugging tools" is enough or not?
#3
[ruby-core:49575]
Updated by denofevil (Dennis Ushakov) over 5 years ago
Looks like it, feel free to close this one as a duplicate
#4
[ruby-core:50138]
Updated by ko1 (Koichi Sasada) over 5 years ago
- Status changed from Assigned to Closed