Project

General

Profile

Actions

Bug #7259

closed

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

Added by denofevil (Dennis Ushakov) about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2012-10-12) [x86_64-darwin12.2.0]
Backport:
[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 1 (0 open1 closed)

Related to Ruby master - Bug #7214: Ruby 2.0 breaks support for some debugging toolsThird Party's Issueko1 (Koichi Sasada)10/25/2012Actions

Updated by mame (Yusuke Endoh) almost 12 years ago

  • Status changed from Open to Assigned
  • Assignee set to ko1 (Koichi Sasada)

Ko1, what do you think about?

--
Yusuke Endoh

Updated by ko1 (Koichi Sasada) almost 12 years ago

"[ruby-core:49369] [ruby-trunk - Bug #7214] Ruby 2.0 breaks support for some debugging tools" is enough or not?

Updated by denofevil (Dennis Ushakov) almost 12 years ago

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

Updated by ko1 (Koichi Sasada) almost 12 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0