os97673/debase-ruby_core_source

debase 0.2.3 fails to compile with ruby 2.6.0 and debase-ruby_core_source v0.10.4

rockorequin opened this issue · 3 comments

debase v0.2.3.beta2 fails to build for ruby 2.6.0 saying that FALSE isn't defined in breakpoint.c, and I think the issue is in debase-ruby_core_source v0.10.4: the file vm_insnhelper.h doesn't include regenc.h, which is needed to define FALSE. There are more details at ruby-debug/debase#67 (comment).

@valich could you please help with this. I do not have environment ready to test changes in this area :(

@os97673 I included regenc.h to vm_insnhelper.h as @rockorequin suggested and it works, so I created PR #13

The problem does not lie within this repository. Ruby sources contained here should correspond to ruby distributions' sources, which is true ATM. Including regenc.h solves the problem indeed, but after some investigation I also came to a conclusion that this is actually not the file which yields the required TRUE definition during compilation time.

I am exploring the possibilities to fix the "problem "ondebase side right now. I will make an update in ruby-debug/debase#67.