Skip to content

cldwalker/debugger-ruby_core_source

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 88 commits ahead of mark-moseley:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Description

Fork of ruby_core_source that uses included Ruby headers (*.h and *.inc) instead of downloading them. Used by debugger. ruby >= 2.0 is not supported - for more info.

##Usage

Example use in extconf.rb:

require 'ruby_core_source'
hdrs = proc { have_header("vm_core.h") and have_header("iseq.h") }
dir_config("ruby") # allow user to pass in non-standard core include directory
if !Ruby_core_source::create_makefile_with_core(hdrs, "foo")
  # error
  exit(1)
end

To add another ruby version's source to this gem's directory:

$ rake add_source VERSION=1.9.3-p0

##Credits

  • @moneill for 1.9.3-p550, 1.9.3-p551 headers
  • @reedloden for 1.9.3-p547 headers
  • @andremedeiros for 2.1.1 headers
  • @stepheneb for 1.9.2-p320 headers
  • @jeremy for 1.9.3-p286 headers
  • @eiel for 1.9.3-p327, 1.9.3-p362, 2.0.0* headers
  • @willian for 1.9.3-p374 headers
  • @formigarafa for fixing 2.1.0 headers

LICENSE

Ruby library code is MIT license, see LICENSE.txt. Included ruby headers, lib/debugger/ruby_core_source/, are mostly Ruby license, see RUBY_LICENSE. Some headers have their own licenses, see LEGAL.

About

Retrieve ruby core source files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.6%
  • C++ 1.3%
  • Ruby 0.1%