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