Project

General

Profile

Bug #7259

ruby-debug-base19x does not compile on 2.0.0-head

Added by Dennis Ushakov almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
ruby -v:
ruby 2.0.0dev (2012-10-12) [x86_64-darwin12.2.0]
[ruby-core:48716]

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

Related to Ruby trunk - Bug #7214: Ruby 2.0 breaks support for some debugging tools Third Party's Issue 10/25/2012

History

#1 [ruby-core:48927] Updated by Yusuke Endoh almost 4 years ago

  • Status changed from Open to Assigned
  • Assignee set to Koichi Sasada

Ko1, what do you think about?

--
Yusuke Endoh mame@tsg.ne.jp

#2 [ruby-core:49372] Updated by Koichi Sasada almost 4 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 Dennis Ushakov almost 4 years ago

Looks like it, feel free to close this one as a duplicate

#4 [ruby-core:50138] Updated by Koichi Sasada almost 4 years ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF