ruby-debug-base19x 0.11.28 → 0.11.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/AUTHORS +10 -10
- data/CHANGES +334 -334
- data/LICENSE +22 -22
- data/README +122 -122
- data/Rakefile +27 -138
- data/ext/ruby_debug/breakpoint.c +586 -586
- data/ext/ruby_debug/extconf.rb +27 -23
- data/ext/ruby_debug/ruby_debug.c +2609 -2642
- data/ext/ruby_debug/ruby_debug.h +148 -148
- data/lib/ChangeLog +1065 -1065
- data/lib/ruby-debug-base.rb +304 -304
- metadata +20 -42
- data/test/base/base.rb +0 -74
- data/test/base/binding.rb +0 -31
- data/test/base/catchpoint.rb +0 -26
data/ext/ruby_debug/extconf.rb
CHANGED
@@ -1,23 +1,27 @@
|
|
1
|
-
require "mkmf"
|
2
|
-
require "ruby_core_source"
|
3
|
-
|
4
|
-
if RUBY_VERSION < "1.9"
|
5
|
-
STDERR.print("Ruby version is too old\n")
|
6
|
-
exit(1)
|
7
|
-
end
|
8
|
-
|
9
|
-
hdrs = proc {
|
10
|
-
have_struct_member("rb_method_entry_t", "body", "method.h")
|
11
|
-
have_header("vm_core.h") and have_header("iseq.h") and have_header("insns.inc") and
|
12
|
-
have_header("insns_info.inc") and have_header("eval_intern.h")
|
13
|
-
}
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
STDERR.print("
|
22
|
-
|
23
|
-
|
1
|
+
require "mkmf"
|
2
|
+
require "ruby_core_source"
|
3
|
+
|
4
|
+
if RUBY_VERSION < "1.9"
|
5
|
+
STDERR.print("Ruby version is too old\n")
|
6
|
+
exit(1)
|
7
|
+
end
|
8
|
+
|
9
|
+
hdrs = proc {
|
10
|
+
have_struct_member("rb_method_entry_t", "body", "method.h")
|
11
|
+
have_header("vm_core.h") and have_header("iseq.h") and have_header("insns.inc") and
|
12
|
+
have_header("insns_info.inc") and have_header("eval_intern.h")
|
13
|
+
}
|
14
|
+
|
15
|
+
if RUBY_VERSION == '1.9.1'
|
16
|
+
$CFLAGS << ' -DRUBY_VERSION_1_9_1'
|
17
|
+
end
|
18
|
+
|
19
|
+
dir_config("ruby")
|
20
|
+
if !Ruby_core_source::create_makefile_with_core(hdrs, "ruby_debug")
|
21
|
+
STDERR.print("Makefile creation failed\n")
|
22
|
+
STDERR.print("*************************************************************\n\n")
|
23
|
+
STDERR.print(" NOTE: For Ruby 1.9 installation instructions, please see:\n\n")
|
24
|
+
STDERR.print(" http://wiki.github.com/mark-moseley/ruby-debug\n\n")
|
25
|
+
STDERR.print("*************************************************************\n\n")
|
26
|
+
exit(1)
|
27
|
+
end
|