rbx-trepanning 0.0.6-universal-rubinius-1.2 → 0.0.7-universal-rubinius-1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. data/.gitignore +5 -0
  2. data/ChangeLog +161 -0
  3. data/Makefile +13 -0
  4. data/NEWS +11 -0
  5. data/Rakefile +6 -5
  6. data/app/.gitignore +2 -0
  7. data/app/breakpoint.rb +53 -36
  8. data/app/brkptmgr.rb +10 -0
  9. data/app/complete.rb +29 -2
  10. data/app/condition.rb +22 -0
  11. data/app/default.rb +1 -0
  12. data/app/eventbuffer.rb +147 -0
  13. data/app/frame.rb +3 -1
  14. data/app/options.rb +2 -2
  15. data/app/run.rb +5 -3
  16. data/bin/.gitignore +2 -0
  17. data/data/.gitignore +2 -0
  18. data/doc/.gitignore +1 -0
  19. data/doc/debugger.html +108 -0
  20. data/interface/.gitignore +2 -0
  21. data/interface/user.rb +8 -7
  22. data/io/.gitignore +3 -0
  23. data/io/input.rb +14 -8
  24. data/lib/.gitignore +2 -0
  25. data/lib/trepanning.rb +25 -33
  26. data/processor/.gitignore +3 -0
  27. data/processor/Makefile +7 -0
  28. data/processor/breakpoint.rb +4 -0
  29. data/processor/command/.gitignore +2 -0
  30. data/processor/command/backtrace.rb +5 -0
  31. data/processor/command/base/.gitignore +2 -0
  32. data/processor/command/base/subcmd.rb +2 -1
  33. data/processor/command/base/subsubcmd.rb +23 -1
  34. data/processor/command/base/subsubmgr.rb +2 -1
  35. data/processor/command/complete.rb +2 -1
  36. data/processor/command/condition.rb +62 -0
  37. data/processor/command/down.rb +4 -4
  38. data/processor/command/eval.rb +14 -6
  39. data/processor/command/exit.rb +8 -7
  40. data/processor/command/frame.rb +6 -2
  41. data/processor/command/info_subcmd/.gitignore +3 -0
  42. data/processor/command/info_subcmd/breakpoints.rb +8 -0
  43. data/processor/command/info_subcmd/files.rb +1 -1
  44. data/processor/command/info_subcmd/line.rb +1 -1
  45. data/processor/command/info_subcmd/ruby.rb +1 -1
  46. data/processor/command/kill.rb +21 -10
  47. data/processor/command/macro.rb +15 -23
  48. data/processor/command/set_subcmd/.gitignore +2 -0
  49. data/processor/command/set_subcmd/auto_subcmd/.gitignore +2 -0
  50. data/processor/command/set_subcmd/debug_subcmd/.gitignore +2 -0
  51. data/processor/command/set_subcmd/different.rb +2 -0
  52. data/processor/command/set_subcmd/max_subcmd/.gitignore +2 -0
  53. data/processor/command/set_subcmd/substitute_subcmd/.gitignore +3 -0
  54. data/processor/command/set_subcmd/trace_subcmd/.gitignore +2 -0
  55. data/processor/command/set_subcmd/trace_subcmd/buffer.rb +42 -0
  56. data/processor/command/set_subcmd/trace_subcmd/print.rb +13 -29
  57. data/processor/command/show_subcmd/.gitignore +3 -0
  58. data/processor/command/show_subcmd/alias.rb +7 -3
  59. data/processor/command/show_subcmd/auto_subcmd/.gitignore +3 -0
  60. data/processor/command/show_subcmd/auto_subcmd/irb.rb +1 -1
  61. data/processor/command/show_subcmd/debug_subcmd/.gitignore +3 -0
  62. data/processor/command/show_subcmd/macro.rb +62 -0
  63. data/processor/command/show_subcmd/max_subcmd/.gitignore +2 -0
  64. data/processor/command/show_subcmd/trace_subcmd/.gitignore +2 -0
  65. data/processor/command/show_subcmd/trace_subcmd/buffer.rb +64 -0
  66. data/processor/command/show_subcmd/trace_subcmd/print.rb +5 -20
  67. data/processor/command/source.rb +7 -0
  68. data/processor/command/up.rb +12 -8
  69. data/processor/eventbuf.rb +101 -0
  70. data/processor/frame.rb +19 -1
  71. data/processor/hook.rb +2 -2
  72. data/processor/load_cmds.rb +57 -49
  73. data/processor/location.rb +40 -0
  74. data/processor/main.rb +27 -26
  75. data/processor/msg.rb +17 -0
  76. data/processor/stepping.rb +21 -1
  77. data/processor/validate.rb +1 -0
  78. data/rbx-trepanning.gemspec +40 -0
  79. data/sample/.gitignore +2 -0
  80. data/test/data/.gitignore +1 -0
  81. data/test/example/.gitignore +2 -0
  82. data/test/functional/.gitignore +3 -0
  83. data/test/functional/test-finish.rb +2 -2
  84. data/test/integration/.gitignore +3 -0
  85. data/test/unit/.gitignore +3 -0
  86. data/test/unit/cmd-helper.rb +6 -2
  87. data/test/unit/test-app-brkpt.rb +14 -12
  88. data/test/unit/test-app-complete.rb +39 -0
  89. data/test/unit/test-app-condition.rb +18 -0
  90. data/test/unit/test-app-options.rb +8 -1
  91. data/test/unit/test-base-subsubcmd.rb +21 -0
  92. data/test/unit/test-cmd-finish.rb +4 -0
  93. data/test/unit/test-completion.rb +11 -6
  94. data/test/unit/test-proc-load_cmds.rb +2 -2
  95. metadata +295 -218
  96. data/app/breakpoint.rbc +0 -3551
  97. data/app/brkptmgr.rbc +0 -2903
  98. data/app/client.rbc +0 -1225
  99. data/app/complete.rbc +0 -1288
  100. data/app/default.rbc +0 -1132
  101. data/app/display.rbc +0 -2578
  102. data/app/frame.rbc +0 -1808
  103. data/app/irb.rbc +0 -2094
  104. data/app/iseq.rbc +0 -2192
  105. data/app/llvm.rbc +0 -2478
  106. data/app/method.rbc +0 -2492
  107. data/app/method_name.rbc +0 -2467
  108. data/app/mock.rbc +0 -398
  109. data/app/options.rbc +0 -2898
  110. data/app/rbx-llvm.rbc +0 -2478
  111. data/app/run.rbc +0 -1244
  112. data/app/util.rbc +0 -1146
  113. data/app/validate.rbc +0 -676
  114. data/bin/trepan.compiled.rbc +0 -1043
  115. data/bin/trepanx.compiled.rbc +0 -1049
  116. data/data/irbrc.compiled.rbc +0 -640
  117. data/interface/base_intf.rbc +0 -1899
  118. data/interface/client.rbc +0 -1072
  119. data/interface/comcodes.rbc +0 -385
  120. data/interface/script.rbc +0 -1642
  121. data/interface/server.rbc +0 -2213
  122. data/interface/user.rbc +0 -2867
  123. data/io/base_io.rbc +0 -2111
  124. data/io/input.rbc +0 -2528
  125. data/io/null_output.rbc +0 -730
  126. data/io/string_array.rbc +0 -2466
  127. data/io/tcpclient.rbc +0 -2419
  128. data/io/tcpfns.rbc +0 -694
  129. data/io/tcpserver.rbc +0 -2638
  130. data/lib/trepanning.rbc +0 -7705
  131. data/lib/trepanning2.rb +0 -441
  132. data/sample/list-terminal-colors.rbc +0 -2318
  133. data/sample/rocky-trepanx-colors.rbc +0 -530
  134. data/test/data/step-bug.cmd +0 -11
  135. data/test/data/step-bug.right +0 -3
  136. data/test/example/step-bug.rb +0 -14
  137. data/test/integration/skip-test-step-bug.rb +0 -17
@@ -1,1043 +0,0 @@
1
- !RBIX
2
- 0
3
- x
4
- M
5
- 1
6
- n
7
- n
8
- x
9
- 10
10
- __script__
11
- i
12
- 94
13
- 5
14
- 7
15
- 0
16
- 64
17
- 47
18
- 49
19
- 1
20
- 1
21
- 15
22
- 5
23
- 7
24
- 2
25
- 64
26
- 47
27
- 49
28
- 1
29
- 1
30
- 15
31
- 5
32
- 7
33
- 3
34
- 64
35
- 47
36
- 49
37
- 4
38
- 1
39
- 15
40
- 5
41
- 7
42
- 5
43
- 64
44
- 47
45
- 49
46
- 4
47
- 1
48
- 15
49
- 5
50
- 7
51
- 6
52
- 64
53
- 47
54
- 49
55
- 4
56
- 1
57
- 15
58
- 45
59
- 7
60
- 8
61
- 65
62
- 49
63
- 9
64
- 0
65
- 49
66
- 10
67
- 1
68
- 45
69
- 7
70
- 11
71
- 99
72
- 43
73
- 12
74
- 7
75
- 13
76
- 49
77
- 14
78
- 1
79
- 49
80
- 10
81
- 1
82
- 83
83
- 15
84
- 9
85
- 90
86
- 5
87
- 45
88
- 16
89
- 17
90
- 47
91
- 49
92
- 18
93
- 1
94
- 15
95
- 79
96
- 56
97
- 19
98
- 50
99
- 20
100
- 0
101
- 8
102
- 91
103
- 1
104
- 15
105
- 2
106
- 11
107
- I
108
- 4
109
- I
110
- 0
111
- I
112
- 0
113
- I
114
- 0
115
- n
116
- p
117
- 21
118
- s
119
- 8
120
- rubygems
121
- x
122
- 7
123
- require
124
- s
125
- 16
126
- require_relative
127
- s
128
- 10
129
- ../app/run
130
- x
131
- 16
132
- require_relative
133
- s
134
- 14
135
- ../app/options
136
- s
137
- 17
138
- ../lib/trepanning
139
- x
140
- 4
141
- File
142
- n
143
- x
144
- 11
145
- active_path
146
- x
147
- 8
148
- basename
149
- n
150
- x
151
- 7
152
- Globals
153
- x
154
- 2
155
- $0
156
- x
157
- 2
158
- []
159
- x
160
- 2
161
- ==
162
- x
163
- 10
164
- Trepanning
165
- n
166
- x
167
- 7
168
- include
169
- M
170
- 1
171
- p
172
- 2
173
- x
174
- 9
175
- for_block
176
- t
177
- n
178
- x
179
- 9
180
- __block__
181
- i
182
- 462
183
- 1
184
- 19
185
- 1
186
- 19
187
- 0
188
- 15
189
- 5
190
- 48
191
- 0
192
- 19
193
- 2
194
- 15
195
- 5
196
- 20
197
- 2
198
- 47
199
- 49
200
- 1
201
- 1
202
- 19
203
- 3
204
- 15
205
- 45
206
- 2
207
- 3
208
- 7
209
- 4
210
- 45
211
- 4
212
- 5
213
- 49
214
- 6
215
- 0
216
- 49
217
- 7
218
- 2
219
- 15
220
- 20
221
- 3
222
- 45
223
- 4
224
- 8
225
- 49
226
- 9
227
- 1
228
- 19
229
- 4
230
- 15
231
- 45
232
- 10
233
- 11
234
- 99
235
- 43
236
- 12
237
- 7
238
- 13
239
- 49
240
- 14
241
- 1
242
- 49
243
- 15
244
- 1
245
- 19
246
- 0
247
- 15
248
- 45
249
- 16
250
- 17
251
- 7
252
- 18
253
- 13
254
- 70
255
- 9
256
- 86
257
- 15
258
- 44
259
- 43
260
- 19
261
- 7
262
- 20
263
- 78
264
- 49
265
- 21
266
- 2
267
- 6
268
- 18
269
- 49
270
- 22
271
- 1
272
- 9
273
- 130
274
- 20
275
- 0
276
- 7
277
- 23
278
- 13
279
- 70
280
- 9
281
- 111
282
- 15
283
- 44
284
- 43
285
- 19
286
- 7
287
- 24
288
- 79
289
- 49
290
- 21
291
- 2
292
- 6
293
- 23
294
- 49
295
- 22
296
- 1
297
- 9
298
- 119
299
- 1
300
- 8
301
- 128
302
- 20
303
- 0
304
- 7
305
- 25
306
- 64
307
- 81
308
- 26
309
- 19
310
- 0
311
- 8
312
- 131
313
- 1
314
- 15
315
- 45
316
- 2
317
- 27
318
- 7
319
- 28
320
- 5
321
- 48
322
- 29
323
- 49
324
- 7
325
- 2
326
- 15
327
- 45
328
- 2
329
- 30
330
- 7
331
- 31
332
- 20
333
- 0
334
- 49
335
- 7
336
- 2
337
- 15
338
- 45
339
- 2
340
- 32
341
- 7
342
- 33
343
- 65
344
- 49
345
- 34
346
- 0
347
- 49
348
- 7
349
- 2
350
- 15
351
- 45
352
- 4
353
- 35
354
- 49
355
- 36
356
- 0
357
- 9
358
- 223
359
- 20
360
- 2
361
- 7
362
- 37
363
- 49
364
- 14
365
- 1
366
- 13
367
- 10
368
- 194
369
- 15
370
- 20
371
- 2
372
- 7
373
- 38
374
- 49
375
- 14
376
- 1
377
- 9
378
- 205
379
- 5
380
- 4
381
- 100
382
- 47
383
- 49
384
- 39
385
- 1
386
- 8
387
- 221
388
- 45
389
- 40
390
- 41
391
- 7
392
- 42
393
- 64
394
- 49
395
- 43
396
- 1
397
- 15
398
- 5
399
- 79
400
- 47
401
- 49
402
- 39
403
- 1
404
- 8
405
- 224
406
- 1
407
- 15
408
- 45
409
- 4
410
- 44
411
- 49
412
- 45
413
- 0
414
- 19
415
- 1
416
- 15
417
- 45
418
- 10
419
- 46
420
- 20
421
- 1
422
- 49
423
- 47
424
- 1
425
- 9
426
- 247
427
- 1
428
- 8
429
- 256
430
- 5
431
- 20
432
- 1
433
- 47
434
- 49
435
- 48
436
- 1
437
- 19
438
- 1
439
- 15
440
- 45
441
- 2
442
- 49
443
- 7
444
- 50
445
- 20
446
- 1
447
- 49
448
- 7
449
- 2
450
- 15
451
- 99
452
- 43
453
- 12
454
- 7
455
- 51
456
- 45
457
- 2
458
- 52
459
- 13
460
- 71
461
- 21
462
- 47
463
- 9
464
- 361
465
- 47
466
- 49
467
- 53
468
- 0
469
- 13
470
- 44
471
- 43
472
- 54
473
- 4
474
- 4
475
- 49
476
- 55
477
- 1
478
- 13
479
- 7
480
- 56
481
- 5
482
- 45
483
- 2
484
- 57
485
- 43
486
- 4
487
- 47
488
- 49
489
- 58
490
- 1
491
- 49
492
- 59
493
- 2
494
- 15
495
- 13
496
- 7
497
- 60
498
- 20
499
- 2
500
- 7
501
- 60
502
- 49
503
- 14
504
- 1
505
- 49
506
- 59
507
- 2
508
- 15
509
- 13
510
- 7
511
- 61
512
- 20
513
- 2
514
- 7
515
- 62
516
- 49
517
- 14
518
- 1
519
- 49
520
- 59
521
- 2
522
- 15
523
- 13
524
- 7
525
- 63
526
- 20
527
- 2
528
- 7
529
- 63
530
- 49
531
- 14
532
- 1
533
- 49
534
- 59
535
- 2
536
- 15
537
- 47
538
- 49
539
- 64
540
- 1
541
- 15
542
- 8
543
- 431
544
- 44
545
- 43
546
- 54
547
- 4
548
- 4
549
- 49
550
- 55
551
- 1
552
- 13
553
- 7
554
- 56
555
- 5
556
- 45
557
- 2
558
- 65
559
- 43
560
- 4
561
- 47
562
- 49
563
- 58
564
- 1
565
- 49
566
- 59
567
- 2
568
- 15
569
- 13
570
- 7
571
- 60
572
- 20
573
- 2
574
- 7
575
- 60
576
- 49
577
- 14
578
- 1
579
- 49
580
- 59
581
- 2
582
- 15
583
- 13
584
- 7
585
- 61
586
- 20
587
- 2
588
- 7
589
- 62
590
- 49
591
- 14
592
- 1
593
- 49
594
- 59
595
- 2
596
- 15
597
- 13
598
- 7
599
- 63
600
- 20
601
- 2
602
- 7
603
- 63
604
- 49
605
- 14
606
- 1
607
- 49
608
- 59
609
- 2
610
- 15
611
- 49
612
- 21
613
- 1
614
- 49
615
- 59
616
- 2
617
- 15
618
- 5
619
- 99
620
- 43
621
- 12
622
- 7
623
- 51
624
- 49
625
- 14
626
- 1
627
- 45
628
- 2
629
- 66
630
- 43
631
- 28
632
- 45
633
- 10
634
- 67
635
- 20
636
- 1
637
- 49
638
- 15
639
- 1
640
- 47
641
- 49
642
- 68
643
- 3
644
- 11
645
- I
646
- f
647
- I
648
- 5
649
- I
650
- 0
651
- I
652
- 0
653
- I
654
- -2
655
- p
656
- 69
657
- x
658
- 20
659
- copy_default_options
660
- x
661
- 13
662
- setup_options
663
- x
664
- 6
665
- Trepan
666
- n
667
- x
668
- 4
669
- ARGV
670
- n
671
- x
672
- 5
673
- clone
674
- x
675
- 9
676
- const_set
677
- n
678
- x
679
- 6
680
- parse!
681
- x
682
- 4
683
- File
684
- n
685
- x
686
- 7
687
- Globals
688
- x
689
- 2
690
- $0
691
- x
692
- 2
693
- []
694
- x
695
- 11
696
- expand_path
697
- x
698
- 13
699
- RUBY_PLATFORM
700
- n
701
- n
702
- x
703
- 6
704
- Regexp
705
- s
706
- 5
707
- mswin
708
- x
709
- 3
710
- new
711
- x
712
- 2
713
- =~
714
- n
715
- s
716
- 6
717
- \.cmd$
718
- s
719
- 4
720
- .cmd
721
- x
722
- 1
723
- +
724
- n
725
- x
726
- 9
727
- RUBY_PATH
728
- x
729
- 9
730
- ruby_path
731
- n
732
- x
733
- 11
734
- TREPAN_PATH
735
- n
736
- x
737
- 11
738
- RBDBGR_FILE
739
- x
740
- 11
741
- active_path
742
- n
743
- x
744
- 6
745
- empty?
746
- x
747
- 7
748
- version
749
- x
750
- 4
751
- help
752
- x
753
- 4
754
- exit
755
- x
756
- 6
757
- STDERR
758
- n
759
- s
760
- 56
761
- Sorry - for now you must specify a Ruby script to debug.
762
- x
763
- 4
764
- puts
765
- n
766
- x
767
- 5
768
- shift
769
- n
770
- x
771
- 6
772
- exist?
773
- x
774
- 11
775
- whence_file
776
- n
777
- x
778
- 11
779
- PROG_SCRIPT
780
- x
781
- 7
782
- $trepan
783
- n
784
- x
785
- 8
786
- allocate
787
- x
788
- 4
789
- Hash
790
- x
791
- 16
792
- new_from_literal
793
- x
794
- 12
795
- restart_argv
796
- n
797
- x
798
- 21
799
- explicit_restart_argv
800
- x
801
- 3
802
- []=
803
- x
804
- 8
805
- cmdfiles
806
- x
807
- 11
808
- initial_dir
809
- x
810
- 5
811
- chdir
812
- x
813
- 2
814
- nx
815
- x
816
- 10
817
- initialize
818
- n
819
- n
820
- n
821
- x
822
- 13
823
- debug_program
824
- p
825
- 77
826
- I
827
- 0
828
- I
829
- 13
830
- I
831
- 0
832
- I
833
- 14
834
- I
835
- 6
836
- I
837
- 19
838
- I
839
- c
840
- I
841
- 1a
842
- I
843
- 16
844
- I
845
- 1b
846
- I
847
- 25
848
- I
849
- 1c
850
- I
851
- 30
852
- I
853
- 1e
854
- I
855
- 41
856
- I
857
- 1f
858
- I
859
- 5b
860
- I
861
- 20
862
- I
863
- 82
864
- I
865
- 1f
866
- I
867
- 84
868
- I
869
- 25
870
- I
871
- 90
872
- I
873
- 26
874
- I
875
- 9b
876
- I
877
- 27
878
- I
879
- a8
880
- I
881
- 29
882
- I
883
- b0
884
- I
885
- 2a
886
- I
887
- c4
888
- I
889
- 2b
890
- I
891
- cd
892
- I
893
- 2d
894
- I
895
- d7
896
- I
897
- 2e
898
- I
899
- df
900
- I
901
- 29
902
- I
903
- e1
904
- I
905
- 32
906
- I
907
- ea
908
- I
909
- 34
910
- I
911
- f7
912
- I
913
- 33
914
- I
915
- 101
916
- I
917
- 35
918
- I
919
- 10c
920
- I
921
- 38
922
- I
923
- 11f
924
- I
925
- 3c
926
- I
927
- 128
928
- I
929
- 38
930
- I
931
- 12a
932
- I
933
- 39
934
- I
935
- 139
936
- I
937
- 3a
938
- I
939
- 147
940
- I
941
- 3b
942
- I
943
- 155
944
- I
945
- 3c
946
- I
947
- 172
948
- I
949
- 38
950
- I
951
- 174
952
- I
953
- 39
954
- I
955
- 183
956
- I
957
- 3a
958
- I
959
- 191
960
- I
961
- 3b
962
- I
963
- 19f
964
- I
965
- 3c
966
- I
967
- 1b3
968
- I
969
- 3e
970
- I
971
- 1c1
972
- I
973
- 3f
974
- I
975
- 1c9
976
- I
977
- 3e
978
- I
979
- 1ce
980
- x
981
- 50
982
- /home/rocky-rvm/.rvm/src/rbx-trepanning/bin/trepan
983
- p
984
- 5
985
- x
986
- 11
987
- trepan_path
988
- x
989
- 16
990
- program_to_debug
991
- x
992
- 7
993
- options
994
- x
995
- 4
996
- opts
997
- x
998
- 4
999
- rest
1000
- x
1001
- 5
1002
- times
1003
- p
1004
- 17
1005
- I
1006
- 0
1007
- I
1008
- 4
1009
- I
1010
- 12
1011
- I
1012
- 5
1013
- I
1014
- 1b
1015
- I
1016
- 6
1017
- I
1018
- 24
1019
- I
1020
- 7
1021
- I
1022
- 2d
1023
- I
1024
- a
1025
- I
1026
- 49
1027
- I
1028
- b
1029
- I
1030
- 52
1031
- I
1032
- 13
1033
- I
1034
- 5a
1035
- I
1036
- a
1037
- I
1038
- 5e
1039
- x
1040
- 50
1041
- /home/rocky-rvm/.rvm/src/rbx-trepanning/bin/trepan
1042
- p
1043
- 0