trepanning 1.93.35 → 2.15.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +7 -0
  2. data/ChangeLog +491 -55
  3. data/LICENSE +1 -1
  4. data/NEWS +18 -14
  5. data/README.md +5 -22
  6. data/Rakefile +22 -1
  7. data/app/breakpoint.rb +5 -3
  8. data/app/core.rb +147 -179
  9. data/app/default.rb +47 -46
  10. data/app/file.rb +6 -7
  11. data/app/frame.rb +183 -176
  12. data/app/markdown.rb +2 -9
  13. data/app/options.rb +1 -1
  14. data/app/run.rb +71 -37
  15. data/interface/script.rb +8 -8
  16. data/io.rb +19 -20
  17. data/lib/trepanning.rb +292 -297
  18. data/processor.rb +332 -344
  19. data/processor/breakpoint.rb +98 -96
  20. data/processor/command/base/submgr.rb +9 -9
  21. data/processor/command/break.rb +40 -38
  22. data/processor/command/continue.rb +15 -10
  23. data/processor/command/debug.rb +6 -25
  24. data/processor/command/delete.rb +21 -12
  25. data/processor/command/directory.rb +15 -13
  26. data/processor/command/disable.rb +12 -9
  27. data/processor/command/disassemble.rb +80 -74
  28. data/processor/command/display.rb +15 -12
  29. data/processor/command/down.rb +8 -3
  30. data/processor/command/edit.rb +37 -23
  31. data/processor/command/enable.rb +11 -8
  32. data/processor/command/eval.rb +24 -22
  33. data/processor/command/finish.rb +50 -48
  34. data/processor/command/help.rb +1 -1
  35. data/processor/command/info_subcmd/breakpoints.rb +7 -7
  36. data/processor/command/info_subcmd/files.rb +195 -196
  37. data/processor/command/info_subcmd/frame.rb +7 -4
  38. data/processor/command/info_subcmd/locals.rb +29 -12
  39. data/processor/command/info_subcmd/program.rb +48 -39
  40. data/processor/command/info_subcmd/registers_subcmd/ep.rb +46 -0
  41. data/processor/command/info_subcmd/registers_subcmd/helper.rb +32 -35
  42. data/processor/command/info_subcmd/registers_subcmd/sp.rb +29 -23
  43. data/processor/command/info_subcmd/return.rb +28 -10
  44. data/processor/command/info_subcmd/variables_subcmd/class.rb +3 -3
  45. data/processor/command/info_subcmd/variables_subcmd/constants.rb +77 -0
  46. data/processor/command/info_subcmd/variables_subcmd/globals.rb +7 -7
  47. data/processor/command/info_subcmd/variables_subcmd/instance.rb +68 -22
  48. data/processor/command/info_subcmd/variables_subcmd/locals.rb +148 -67
  49. data/processor/command/list.rb +14 -8
  50. data/processor/command/macro.rb +1 -1
  51. data/processor/command/next.rb +1 -0
  52. data/processor/command/set_subcmd/auto.rb +3 -3
  53. data/processor/command/set_subcmd/different.rb +30 -29
  54. data/processor/command/set_subcmd/events.rb +74 -48
  55. data/processor/command/set_subcmd/max_subcmd/list.rb +12 -5
  56. data/processor/command/set_subcmd/max_subcmd/width.rb +28 -19
  57. data/processor/command/set_subcmd/register.rb +37 -0
  58. data/processor/command/set_subcmd/register_subcmd/pc.rb +67 -0
  59. data/processor/command/set_subcmd/register_subcmd/sp.rb +75 -0
  60. data/processor/command/set_subcmd/reload.rb +12 -10
  61. data/processor/command/set_subcmd/return.rb +68 -44
  62. data/processor/command/shell.rb +3 -2
  63. data/processor/command/show_subcmd/different.rb +17 -14
  64. data/processor/command/show_subcmd/events.rb +25 -25
  65. data/processor/default.rb +1 -1
  66. data/processor/eval.rb +14 -15
  67. data/processor/frame.rb +43 -36
  68. data/processor/help.rb +5 -5
  69. data/processor/hook.rb +26 -29
  70. data/processor/location.rb +54 -51
  71. data/processor/mock.rb +4 -3
  72. data/processor/running.rb +113 -103
  73. data/processor/validate.rb +401 -373
  74. data/test/data/debug.cmd +8 -0
  75. data/test/data/debug.right +13 -0
  76. data/test/data/debugger-stop.right +6 -4
  77. data/test/data/fname-with-blank.cmd +1 -1
  78. data/test/data/fname-with-blank.right +5 -0
  79. data/test/data/pc.cmd +8 -0
  80. data/test/data/pc.right +10 -0
  81. data/test/data/quit.right +3 -1
  82. data/test/data/trace.cmd +2 -2
  83. data/test/data/trace.right +41 -20
  84. data/test/example/assign.rb +6 -0
  85. data/test/functional/fn_helper.rb +11 -17
  86. data/test/functional/test-break-long.rb +15 -16
  87. data/test/functional/test-break.rb +6 -8
  88. data/test/functional/test-condition.rb +8 -10
  89. data/test/functional/test-debugger-call-bug.rb +21 -22
  90. data/test/functional/test-delete.rb +57 -59
  91. data/test/functional/test-eval.rb +101 -103
  92. data/test/functional/test-finish.rb +24 -33
  93. data/test/functional/test-immediate-step-bug.rb +6 -10
  94. data/test/functional/test-next.rb +64 -65
  95. data/test/functional/test-raise.rb +63 -64
  96. data/test/functional/test-recursive-bt.rb +81 -76
  97. data/test/functional/test-remap.rb +6 -7
  98. data/test/functional/test-return.rb +44 -38
  99. data/test/functional/test-step.rb +55 -53
  100. data/test/functional/test-stepbug.rb +6 -9
  101. data/test/functional/test-watchg.rb +40 -39
  102. data/test/integration/test-debug.rb +12 -0
  103. data/test/integration/test-debugger-stop.rb +7 -7
  104. data/test/integration/test-pc.rb +24 -0
  105. data/test/integration/test-trace.rb +1 -1
  106. data/test/unit/cmd-helper.rb +0 -1
  107. data/test/unit/test-app-brkpt.rb +21 -21
  108. data/test/unit/test-app-brkptmgr.rb +7 -8
  109. data/test/unit/test-app-display.rb +3 -4
  110. data/test/unit/test-app-frame.rb +4 -5
  111. data/test/unit/test-base-subsubcmd.rb +2 -2
  112. data/test/unit/test-cmd-break.rb +6 -6
  113. data/test/unit/test-cmd-endisable.rb +7 -6
  114. data/test/unit/test-cmd-parse_list_cmd.rb +24 -24
  115. data/test/unit/test-io-tcpserver.rb +39 -35
  116. data/test/unit/test-proc-default.rb +23 -22
  117. data/test/unit/test-proc-eval.rb +1 -2
  118. data/test/unit/test-proc-frame.rb +8 -9
  119. data/test/unit/test-proc-list.rb +1 -1
  120. data/test/unit/test-proc-location.rb +2 -2
  121. data/test/unit/test-proc-main.rb +10 -10
  122. data/test/unit/test-proc-validate.rb +11 -13
  123. data/test/unit/test-subcmd-help.rb +1 -2
  124. data/trepanning.gemspec +8 -13
  125. metadata +44 -95
  126. data/COPYING +0 -57
  127. data/data/custom_require.rb +0 -44
  128. data/data/perldb.bindings +0 -17
  129. data/data/prelude.rb +0 -38
  130. data/processor/command/info_subcmd/variables_subcmd/constant.rb +0 -41
  131. data/processor/command/raise.rb +0 -48
  132. data/processor/command/set_subcmd/pc.rb +0 -62
  133. data/processor/command/set_subcmd/sp.rb +0 -67
  134. data/processor/eventbuf.rb +0 -133
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e00fc82ddd7fc2774cfabfc75c3f6351ce6a9e21
4
+ data.tar.gz: 5288b85fe907200db5002ebb8d27952d08eb89bc
5
+ SHA512:
6
+ metadata.gz: 14b6a7fedac002c92523f975d8ad38a4cbfa3392bc05dd720cab6a4afea63fcaa79415a46fc15e2868843b6b588cb291efbcacfe39dfd85dc2a5b8e87bd58ffd
7
+ data.tar.gz: 28777e369fa958cbc2d3ed508d8f0d5da015c7fb4c3541432f0820486c579c01b74e0992fc4641b77cb1f491b3dacdaa154cf679620cb98fe4418b0701b42653
data/ChangeLog CHANGED
@@ -1,26 +1,26 @@
1
- 2015-03-12 rocky <rockyb@rubyforge.org>
1
+ 2015-03-08 rocky <rockyb@rubyforge.org>
2
2
 
3
- * trepanning.gemspec: Get ready for release 1.93.34 (again)
3
+ * NEWS, app/options.rb: Get ready for release 2.15.33
4
4
 
5
- 2015-03-12 rocky <rockyb@rubyforge.org>
5
+ 2015-03-08 rocky <rockyb@rubyforge.org>
6
6
 
7
- * ChangeLog, NEWS, app/markdown.rb, app/options.rb,
8
- processor/command/list.rb: Get ready for release 1.93.34
7
+ * test/functional/fn_helper.rb: One more rubyvm_frame ->
8
+ rubyvm-frame
9
9
 
10
- 2015-03-12 rocky <rockyb@rubyforge.org>
10
+ 2015-03-08 rocky <rockyb@rubyforge.org>
11
11
 
12
- * processor.rb, trepanning.gemspec: Empty line runs "next command".
13
- Add Markdown in description.
12
+ * processor/breakpoint.rb, test/functional/fn_helper.rb:
13
+ rubyvm_frame -> rubyvm-frame
14
14
 
15
15
  2015-03-08 rocky <rockyb@rubyforge.org>
16
16
 
17
- * ChangeLog, NEWS, app/breakpoint.rb, app/options.rb,
18
- trepanning.gemspec: Get ready for release 1.93.32
17
+ * : commit 112c4c2323f41cd11c94b0d9b4f4ec2d378b0bce Author: rocky
18
+ <rockyb@rubyforge.org> Date: Sun Mar 8 09:47:13 2015 -0400
19
19
 
20
20
  2015-03-08 rocky <rockyb@rubyforge.org>
21
21
 
22
22
  * ChangeLog, NEWS, app/options.rb, trepanning.gemspec: Get ready for
23
- release 1.93.31
23
+ release 2.15.31
24
24
 
25
25
  2015-03-08 rocky <rockyb@rubyforge.org>
26
26
 
@@ -32,85 +32,246 @@
32
32
 
33
33
  2015-03-08 rocky <rockyb@rubyforge.org>
34
34
 
35
- * trepanning.gemspec: Drop threadframe dependency - it's baked into
36
- Ruby now
35
+ * trepanning.gemspec: Drop threadframe dependency; add coderay and
36
+ term-ansicolor
37
37
 
38
38
  2015-03-07 rocky <rockyb@rubyforge.org>
39
39
 
40
- * processor/command/info_subcmd/program.rb, processor/location.rb:
41
- If an exception is non-local, tyr to detect that.
40
+ * processor/location.rb: Guard against nil frame
42
41
 
43
42
  2015-03-06 rocky <rockyb@rubyforge.org>
44
43
 
45
44
  * processor/command/info_subcmd/frame.rb: Guard against invalid
46
- frame in "info frame" Conflicts: processor/command/info_subcmd/frame.rb
45
+ frame in "info frame"
47
46
 
48
47
  2015-03-06 rocky <rockyb@rubyforge.org>
49
48
 
50
49
  * app/options.rb, processor/command/frame.rb,
51
- processor/command/info_subcmd/breakpoints.rb,
52
- processor/command/info_subcmd/files.rb,
53
50
  processor/command/info_subcmd/frame.rb,
54
51
  processor/command/info_subcmd/registers.rb,
55
- processor/command/info_subcmd/registers_subcmd/dfp.rb,
56
- processor/command/info_subcmd/registers_subcmd/lfp.rb,
57
52
  processor/command/reload.rb,
58
53
  processor/command/reload_subcmd/command.rb,
59
54
  processor/command/set_subcmd/different.rb: More markdown doc. Bump
60
- version
55
+ version Conflicts: app/options.rb processor/command/info_subcmd/breakpoints.rb processor/command/info_subcmd/files.rb processor/command/info_subcmd/frame.rb processor/command/set_subcmd/different.rb
61
56
 
62
- 2015-03-06 rocky <rockyb@rubyforge.org>
57
+ 2015-03-05 rocky <rockyb@rubyforge.org>
63
58
 
64
- * ChangeLog, NEWS, app/options.rb, processor/command/exit.rb,
65
- processor/command/finish.rb, trepanning.gemspec: Get ready for
66
- release 1.93.30
59
+ * ChangeLog, NEWS, Rakefile, app/options.rb, trepanning.gemspec: Get
60
+ ready for release 2.15.3
67
61
 
68
62
  2015-03-05 rocky <rockyb@rubyforge.org>
69
63
 
70
- * Rakefile, trepanning.gemspec: Bang on 1.9.3 packaging a little.
64
+ * trepanning.gemspec: Bang on 2.1.5 packaging a little.
71
65
 
72
66
  2015-03-05 rocky <rockyb@rubyforge.org>
73
67
 
74
- * processor/command/step.rb: Markdown help for "step" command
68
+ * processor/command/source.rb, processor/command/step.rb,
69
+ test/integration/test-debug.rb: Small bugs, add step markdown.
75
70
 
76
- 2015-03-05 rocky <rockyb@rubyforge.org>
71
+ 2015-03-04 rocky <rockyb@rubyforge.org>
77
72
 
78
- * processor/command/debug.rb, processor/command/macro.rb,
79
- processor/command/raise.rb, processor/command/source.rb,
80
- processor/command/step.rb, test/integration/test-quit.rb: More
81
- command markdown. Fix "debug" command.
73
+ * test/data/debug.cmd, test/data/debug.right,
74
+ test/integration/test-debug.rb: Add "debug" command test
82
75
 
83
- 2015-03-05 rocky <rockyb@rubyforge.org>
76
+ 2015-03-03 rocky <rockyb@rubyforge.org>
84
77
 
85
- * processor/command/alias.rb, processor/command/backtrace.rb,
86
- processor/command/complete.rb, processor/command/condition.rb:
87
- Markdown help for more commands.
78
+ * processor/command/debug.rb: Reinstate debug command. Runtime
79
+ support will go in next ruby-debugger-runtime patch update.
88
80
 
89
- 2015-03-05 rocky <rockyb@rubyforge.org>
81
+ 2015-03-03 rocky <rockyb@rubyforge.org>
90
82
 
91
- * bin/trepan, lib/trepanning.rb, test/data/trace.right,
92
- test/integration/test-trace.rb: basename optionfix. Sync with 2.1
83
+ * processor/validate.rb, trepanning.gemspec: validate: got test
84
+ backwards gemspec: need to list dependencies even if they are in
85
+ patched tarball
93
86
 
94
- 2015-03-04 rocky <rockyb@rubyforge.org>
87
+ 2015-03-03 rocky <rockyb@rubyforge.org>
88
+
89
+ * ChangeLog, NEWS, README.md, Rakefile, trepanning.gemspec: Get
90
+ ready for release 0.3.0
91
+
92
+ 2015-02-14 rocky <rockyb@rubyforge.org>
93
+
94
+ * interface/script.rb, io.rb,
95
+ processor/command/info_subcmd/program.rb, processor/location.rb,
96
+ test/functional/test-next.rb: When we have a non-local exception,
97
+ show that.
98
+
99
+ 2015-02-12 rocky <rockyb@rubyforge.org>
100
+
101
+ * data/custom_require.rb, data/perldb.bindings, data/prelude.rb,
102
+ processor.rb, processor/command/info_subcmd/files.rb,
103
+ processor/command/info_subcmd/frame.rb,
104
+ processor/command/info_subcmd/program.rb,
105
+ processor/command/list.rb, processor/location.rb,
106
+ processor/validate.rb, test/functional/test-remap.rb: Lots of little
107
+ bugs. data: Ruby gem implementation is different. processor, list:
108
+ add text_file? Look for handle DL file names
109
+
110
+ 2015-02-11 rocky <rockyb@rubyforge.org>
111
+
112
+ * app/core.rb, processor.rb, processor/location.rb,
113
+ test/data/debugger-stop.right, test/functional/test-watchg.rb: Fix
114
+ up watchg and its test. All unit,functional and integration tests
115
+ now work. Need to reinstate mre functional tests and add more tests
116
+ overall.
117
+
118
+ 2015-02-11 rocky <rockyb@rubyforge.org>
119
+
120
+ * test/functional/test-recursive-bt.rb,
121
+ test/functional/test-return.rb: Reinstate recursive backtrace
122
+ (shortening) test.
123
+
124
+ 2015-02-11 rocky <rockyb@rubyforge.org>
125
+
126
+ * Rakefile, trepanning.gemspec: Check for Ruby 2.1.5 with debugger
127
+ support. columnize is now baked in to the patches.
128
+
129
+ 2015-02-10 rocky <rockyb@rubyforge.org>
130
+
131
+ * processor/command/set_subcmd/register_subcmd/sp.rb,
132
+ processor/command/set_subcmd/return.rb,
133
+ test/functional/test-return.rb: Adjust test-return.rb. return.rb:
134
+ wrong call to set sp sp.rb: remove stray print statement
135
+
136
+ 2015-02-10 rocky <rockyb@rubyforge.org>
137
+
138
+ * README.md: Link to features
139
+
140
+ 2015-02-10 rocky <rockyb@rubyforge.org>
141
+
142
+ * processor/command/raise.rb, processor/running.rb,
143
+ test/functional/test-next.rb, test/functional/test-raise.rb:
144
+ running.rb: use "step into". Don't support "raise". Work on more
145
+ functional tests.
146
+
147
+ 2015-02-09 rocky <rockyb@rubyforge.org>
148
+
149
+ * processor/running.rb, test/functional/test-finish.rb: Use
150
+ high-speed finish that's in our patched ruby
151
+
152
+ 2015-02-07 rocky <rockyb@rubyforge.org>
153
+
154
+ * README.md: project has moved from google code to
155
+ https://sourceforge.net/projects/ruby-debugger-runtime/
156
+
157
+ 2015-02-07 rocky <rockyb@rubyforge.org>
158
+
159
+ * app/run.rb, test/unit/test-cmd-parse_list_cmd.rb: Updates for
160
+ latest frame trace disable patches
161
+
162
+ 2015-02-06 rocky <rockyb@rubyforge.org>
163
+
164
+ * test/data/trace.right, test/functional/test-break-long.rb,
165
+ test/functional/test-delete.rb, test/functional/test-next.rb:
166
+ Locations verified. Previous patch recently removed to adjust
167
+ locations in ruby-19-debugger still needs to be there.
168
+
169
+ 2015-02-06 rocky <rockyb@rubyforge.org>
170
+
171
+ * Rakefile, test/functional/test-break-long.rb: Rakefile: another
172
+ use where we remove hard-coded name "gem". test-break-long.rb:
173
+ adjust for current situation. Need to verify this is correct.
174
+
175
+ 2015-02-06 rocky <rockyb@rubyforge.org>
176
+
177
+ * test/functional/test-delete.rb, test/functional/test-next.rb,
178
+ test/functional/test-return.rb: May be chasing my tail until patches
179
+ stabilize.
180
+
181
+ 2015-02-06 rocky <rockyb@rubyforge.org>
182
+
183
+ * Rakefile, test/data/debugger-stop.right,
184
+ test/data/fname-with-blank.cmd, test/data/fname-with-blank.right,
185
+ test/data/pc.cmd, test/data/quit.right,
186
+ test/integration/test-debugger-stop.rb,
187
+ test/integration/test-pc.rb, test/integration/test-quit.rb: Bang on
188
+ integration tests
189
+
190
+ 2015-02-06 rocky <rockyb@rubyforge.org>
95
191
 
96
- * app/default.rb, app/options.rb, lib/trepanning.rb, processor.rb,
97
- test/integration/helper.rb, test/integration/test-trace.rb: Sync
98
- with 2.1
192
+ * app/default.rb, app/run.rb, lib/trepanning.rb,
193
+ processor/location.rb, test/data/trace.cmd, test/data/trace.right,
194
+ test/integration/test-trace.rb: Don't go into debugger command loop
195
+ on exit if run with tracing. trace test now works.
196
+
197
+ 2015-02-06 rocky <rockyb@rubyforge.org>
198
+
199
+ * app/default.rb, app/options.rb, bin/trepan, lib/trepanning.rb,
200
+ test/data/pc.cmd, test/data/pc.right, test/example/assign.rb,
201
+ test/integration/helper.rb, test/integration/test-pc.rb: Reinstate
202
+ --basename option. Don't nuke --cmdfile stdout. Add test for "set
203
+ pc".
204
+
205
+ 2015-02-06 rocky <rockyb@rubyforge.org>
206
+
207
+ * processor/command/set_subcmd/register.rb: Forgot to add the
208
+ register manager.
209
+
210
+ 2015-02-06 rocky <rockyb@rubyforge.org>
211
+
212
+ * test/integration/test-trace.rb: Reflow
213
+
214
+ 2015-02-06 rocky <rockyb@rubyforge.org>
215
+
216
+ * processor/command/base/submgr.rb,
217
+ processor/command/set_subcmd/auto.rb,
218
+ processor/command/set_subcmd/max_subcmd/list.rb,
219
+ processor/command/set_subcmd/pc.rb,
220
+ processor/command/set_subcmd/register_subcmd/pc.rb,
221
+ processor/command/set_subcmd/register_subcmd/sp.rb,
222
+ processor/command/set_subcmd/reload.rb,
223
+ processor/command/set_subcmd/sp.rb: Add info registers and put sp
224
+ and pc under that. Start markdown of subcommand help.
225
+
226
+ 2015-02-06 rocky <rockyb@rubyforge.org>
227
+
228
+ * processor/command/alias.rb, processor/command/edit.rb,
229
+ processor/command/help.rb,
230
+ processor/command/info_subcmd/registers_subcmd/helper.rb,
231
+ processor/command/info_subcmd/variables_subcmd/locals.rb,
232
+ processor/command/unalias.rb, test/unit/test-cmd-parse_list_cmd.rb:
233
+ Work on debugger state when there is no frame: Show only available
234
+ commands, not all of them. "alias", and "unalias" don't need a
235
+ stack. "edit" checks stack when it needs it. info var locals:
236
+ Describe local numbers with respect to C fns.
237
+
238
+ 2015-02-05 rocky <rockyb@rubyforge.org>
239
+
240
+ * app/core.rb, processor/command/info_subcmd/program.rb,
241
+ processor/command/info_subcmd/variables_subcmd/locals.rb,
242
+ processor/location.rb, processor/running.rb,
243
+ test/functional/test-debugger-call-bug.rb,
244
+ test/functional/test-delete.rb, test/functional/test-next.rb: Handle
245
+ exception events better in "info program", in displaying information
246
+ and stepping. info locals: doc improvement.
247
+
248
+ 2015-02-05 rocky <rockyb@rubyforge.org>
249
+
250
+ * app/run.rb, processor.rb, processor/breakpoint.rb,
251
+ processor/command/finish.rb, processor/command/list.rb,
252
+ processor/command/next.rb, processor/command/shell.rb,
253
+ processor/command/step.rb, processor/frame.rb,
254
+ processor/validate.rb: Handle program termination inside the
255
+ debugger better. We no longer trace into the debugger. We enter a
256
+ debugger command loop after finishing. Change prompt to add a ':pm'
257
+ suffix.
258
+
259
+ 2015-02-03 rocky <rockyb@rubyforge.org>
260
+
261
+ * app/frame.rb, processor/command/disassemble.rb,
262
+ processor/location.rb: The source location of a C function is now
263
+ its memory address. Deal with it. Also better line splitting of
264
+ long frame lines.
99
265
 
100
266
  2015-02-02 rocky <rockyb@rubyforge.org>
101
267
 
102
268
  * app/default.rb, app/options.rb, processor.rb,
103
269
  processor/command/alias.rb, processor/command/break.rb,
104
- processor/command/show.rb, processor/command/source.rb,
105
- processor/command/tbreak.rb, processor/command/undisplay.rb,
270
+ processor/command/help.rb, processor/command/show.rb,
271
+ processor/command/source.rb, processor/command/tbreak.rb,
272
+ processor/command/unalias.rb, processor/command/undisplay.rb,
106
273
  processor/command/watchg.rb, processor/default.rb: Finish adding
107
- markdown for commands. Turn highlight on by default. Conflicts: app/default.rb processor.rb processor/command/alias.rb processor/command/break.rb processor/default.rb
108
-
109
- 2015-03-04 rocky <rockyb@rubyforge.org>
110
-
111
- * processor/command/help.rb, processor/command/unalias.rb,
112
- processor/mock.rb, processor/msg.rb, test/unit/cmd-helper.rb,
113
- test/unit/test-cmd-help.rb: Markdown fy
274
+ markdown for commands. Turn highlight on by default.
114
275
 
115
276
  2015-02-02 rocky <rockyb@rubyforge.org>
116
277
 
@@ -121,7 +282,131 @@
121
282
  processor/command/pr.rb, processor/command/ps.rb,
122
283
  processor/command/quit.rb, processor/command/save.rb,
123
284
  processor/command/server.rb, processor/command/set.rb,
124
- processor/command/shell.rb, processor/command/up.rb: More mardown Conflicts: processor/command/pr.rb
285
+ processor/command/shell.rb, processor/command/up.rb: More mardown
286
+
287
+ 2015-02-02 rocky <rockyb@rubyforge.org>
288
+
289
+ * processor/command/eval.rb, processor/command/exit.rb: More help
290
+ markdown.
291
+
292
+ 2015-02-02 rocky <rockyb@rubyforge.org>
293
+
294
+ * processor.rb, processor/hook.rb, test/functional/fn_helper.rb,
295
+ test/functional/test-break-long.rb, test/functional/test-break.rb,
296
+ test/functional/test-condition.rb,
297
+ test/functional/test-debugger-call-bug.rb,
298
+ test/functional/test-delete.rb, test/functional/test-eval.rb,
299
+ test/functional/test-finish.rb,
300
+ test/functional/test-immediate-step-bug.rb,
301
+ test/functional/test-next.rb, test/functional/test-raise.rb,
302
+ test/functional/test-recursive-bt.rb,
303
+ test/functional/test-remap.rb, test/functional/test-return.rb,
304
+ test/functional/test-step.rb, test/functional/test-stepbug.rb,
305
+ test/functional/test-watchg.rb: Start to reinstate functional tests.
306
+ Some even work!
307
+
308
+ 2015-02-02 rocky <rockyb@rubyforge.org>
309
+
310
+ * Rakefile: Allow us to specify the gem program to use on install
311
+
312
+ 2015-02-02 rocky <rockyb@rubyforge.org>
313
+
314
+ * processor.rb, processor/eventbuf.rb, processor/validate.rb,
315
+ test/functional/fn_helper.rb, test/functional/test-break-long.rb,
316
+ test/functional/test-condition.rb, test/functional/test-delete.rb,
317
+ test/functional/test-finish.rb,
318
+ test/functional/test-immediate-step-bug.rb,
319
+ test/functional/test-next.rb, test/functional/test-raise.rb,
320
+ test/functional/test-recursive-bt.rb,
321
+ test/functional/test-remap.rb, test/functional/test-return.rb,
322
+ test/functional/test-step.rb, test/functional/test-stepbug.rb,
323
+ test/functional/test-watchg.rb, trepanning.gemspec: Remove
324
+ dependency on and traces of tracer. My reinstant in the future if we
325
+ want eventbuf.
326
+
327
+ 2015-02-02 rocky <rockyb@rubyforge.org>
328
+
329
+ * processor/command/info_subcmd/breakpoints.rb,
330
+ processor/command/info_subcmd/return.rb,
331
+ processor/command/set_subcmd/events.rb,
332
+ processor/command/set_subcmd/pc.rb,
333
+ processor/command/set_subcmd/return.rb: More markdown. disable
334
+ setting C return values
335
+
336
+ 2015-02-02 rocky <rockyb@rubyforge.org>
337
+
338
+ * app/frame.rb,
339
+ processor/command/info_subcmd/registers_subcmd/helper.rb,
340
+ processor/command/info_subcmd/registers_subcmd/sp.rb,
341
+ processor/command/info_subcmd/variables_subcmd/locals.rb,
342
+ processor/command/set_subcmd/different.rb,
343
+ processor/command/set_subcmd/return.rb,
344
+ processor/command/set_subcmd/sp.rb: Reinstate some of the ability to
345
+ set return values. More markdown code in help.
346
+
347
+ 2015-02-01 rocky <rockyb@rubyforge.org>
348
+
349
+ * processor/command/info_subcmd/registers_subcmd/ep.rb,
350
+ processor/command/info_subcmd/registers_subcmd/helper.rb,
351
+ processor/command/info_subcmd/registers_subcmd/lfp.rb,
352
+ processor/command/info_subcmd/registers_subcmd/sp.rb,
353
+ processor/command/info_subcmd/variables_subcmd/locals.rb,
354
+ processor/command/set_subcmd/return.rb: Bang more on frame/register
355
+ aspects. Some out-and-out bugs fixed.
356
+
357
+ 2015-02-01 rocky <rockyb@rubyforge.org>
358
+
359
+ * app/run.rb,
360
+ processor/command/info_subcmd/variables_subcmd/locals.rb: run.rb:
361
+ over set-encoding calls in Kernel::loca local.rb: markdown help.
362
+
363
+ 2015-02-01 rocky <rockyb@rubyforge.org>
364
+
365
+ * app/frame.rb, app/run.rb,
366
+ processor/command/info_subcmd/registers_subcmd/helper.rb,
367
+ processor/command/info_subcmd/registers_subcmd/sp.rb,
368
+ processor/command/info_subcmd/variables_subcmd/locals.rb: Show types
369
+ when showing sp and locals. Note various weirdnesses. Fix some
370
+ bugs, but more remaing. Need clean up all stack handling.
371
+
372
+ 2015-02-01 rocky <rockyb@rubyforge.org>
373
+
374
+ * app/core.rb, app/run.rb, lib/trepanning.rb,
375
+ processor/command/finish.rb, processor/command/pr.rb,
376
+ processor/eval.rb, test/unit/test-proc-main.rb: Start to use
377
+ frame.trace_off and frame.trace_off1 More work is needed: finish
378
+ doesn't work yet. Markdown help for finish.
379
+
380
+ 2015-01-31 rocky <rockyb@rubyforge.org>
381
+
382
+ * app/markdown.rb, processor.rb, processor/command/complete.rb,
383
+ processor/command/condition.rb, processor/command/continue.rb,
384
+ processor/command/debug.rb, processor/command/delete.rb,
385
+ processor/command/directory.rb, processor/command/disable.rb,
386
+ processor/command/disassemble.rb, processor/command/display.rb,
387
+ processor/command/down.rb, processor/command/edit.rb,
388
+ processor/command/enable.rb,
389
+ processor/command/info_subcmd/frame.rb, processor/command/macro.rb,
390
+ processor/help.rb: markdown.rb: strip ANSI escape sequences.
391
+ command/*.rb: Markdown help. (Not finished yet)
392
+
393
+ 2015-01-30 rocky <rockyb@rubyforge.org>
394
+
395
+ * processor.rb, processor/command/alias.rb,
396
+ processor/command/backtrace.rb, processor/command/help.rb,
397
+ processor/command/macro.rb,
398
+ processor/command/set_subcmd/max_subcmd/width.rb,
399
+ processor/default.rb, test/unit/cmd-helper.rb,
400
+ test/unit/test-cmd-help.rb: set max width can take no arguments and
401
+ will figure out width from terminal. Use Markdown for macro help.
402
+
403
+ 2015-01-30 rocky <rockyb@rubyforge.org>
404
+
405
+ * COPYING, LICENSE, trepanning.gemspec: I guess MIT license is okay
406
+
407
+ 2015-01-30 rocky <rockyb@rubyforge.org>
408
+
409
+ * trepanning.gemspec: Update description in gem
125
410
 
126
411
  2015-01-30 rocky <rockyb@rubyforge.org>
127
412
 
@@ -136,19 +421,170 @@
136
421
  processor/command/help/location.txt,
137
422
  processor/command/help/suffixes.md,
138
423
  processor/command/help/suffixes.txt, processor/msg.rb: Convert
139
- syntax help to markdown Conflicts: processor/command/help.rb
424
+ syntax help to markdown
140
425
 
141
426
  2015-01-30 rocky <rockyb@rubyforge.org>
142
427
 
143
428
  * COPYING, Rakefile, app/markdown.rb, processor/command.rb,
144
429
  processor/command/help.rb, processor/command/help/command.txt,
145
430
  processor/msg.rb, trepanning.gemspec: Start long process of turning
146
- help into markdown format. Conflicts: processor/msg.rb
431
+ help into markdown format.
147
432
 
148
433
  2015-01-30 rocky <rockyb@rubyforge.org>
149
434
 
150
435
  * app/markdown.rb: Add a terminal markdown mode via redcloth
151
436
 
437
+ 2015-01-30 rocky <rockyb@rubyforge.org>
438
+
439
+ * test/unit/test-app-display.rb, test/unit/test-base-subsubcmd.rb:
440
+ Remove duplicate class names in unit tests
441
+
442
+ 2015-01-30 rocky <rockyb@rubyforge.org>
443
+
444
+ * processor/command/info_subcmd/variables_subcmd/class.rb,
445
+ processor/command/info_subcmd/variables_subcmd/constants.rb,
446
+ processor/command/info_subcmd/variables_subcmd/globals.rb,
447
+ processor/command/info_subcmd/variables_subcmd/instance.rb,
448
+ processor/command/info_subcmd/variables_subcmd/locals.rb: Reinstate
449
+ showing instance variables and constants, revise locals. More work
450
+ is needed on constants.
451
+
452
+ 2015-01-30 rocky <rockyb@rubyforge.org>
453
+
454
+ * processor/command/info_subcmd/locals.rb,
455
+ processor/command/info_subcmd/variables_subcmd/locals.rb: Completion
456
+ on locals command
457
+
458
+ 2015-01-30 rocky <rockyb@rubyforge.org>
459
+
460
+ * app/default.rb, processor/command/info_subcmd/locals.rb,
461
+ processor/command/info_subcmd/variables_subcmd/constant.rb,
462
+ processor/command/info_subcmd/variables_subcmd/constants.rb,
463
+ processor/command/info_subcmd/variables_subcmd/instance.rb,
464
+ processor/command/info_subcmd/variables_subcmd/locals.rb,
465
+ processor/command/show_subcmd/different.rb, processor/validate.rb,
466
+ test/unit/test-proc-validate.rb: Have to disable "info constants and
467
+ info instance" for now. "Set different" defaulit is "on". Correct
468
+ the display of that variable. We now no longer advertise of of 1/0
469
+ for on/off.
470
+
471
+ 2015-01-30 rocky <rockyb@rubyforge.org>
472
+
473
+ * app/run.rb, processor/command/info_subcmd/return.rb,
474
+ processor/command/set_subcmd/return.rb,
475
+ processor/command/set_subcmd/sp.rb: Dry set return code. C return
476
+ value setting is still a bit off.
477
+
478
+ 2015-01-29 rocky <rockyb@rubyforge.org>
479
+
480
+ * processor/command/info_subcmd/frame.rb: Better at showing return
481
+ value
482
+
483
+ 2015-01-29 rocky <rockyb@rubyforge.org>
484
+
485
+ * app/frame.rb, processor/command/info_subcmd/frame.rb,
486
+ processor/frame.rb, processor/mock.rb: info frame gives more
487
+ information about frame parameters. fix frame top detection.
488
+
489
+ 2015-01-29 rocky <rockyb@rubyforge.org>
490
+
491
+ * app/core.rb, processor/msg.rb,
492
+ test/unit/test-cmd-parse_list_cmd.rb: msg.rb: add underline to
493
+ section if highlight not available. test-cmd-parse_list_cmd.rb:
494
+ iseq now available for unbound methods
495
+
496
+ 2015-01-29 rocky <rockyb@rubyforge.org>
497
+
498
+ * app/core.rb, processor/command/set_subcmd/different.rb,
499
+ processor/command/set_subcmd/events.rb,
500
+ processor/command/show_subcmd/events.rb: Reinstate adjusting trace
501
+ masks
502
+
503
+ 2015-01-28 rocky <rockyb@rubyforge.org>
504
+
505
+ * processor/command/info_subcmd/registers_subcmd/dfp.rb,
506
+ processor/command/info_subcmd/return.rb,
507
+ processor/command/set_subcmd/return.rb, processor/location.rb: dfp
508
+ is no longer applicable. Other changes may be temporary.
509
+
510
+ 2015-01-28 rocky <rockyb@rubyforge.org>
511
+
512
+ * app/breakpoint.rb, app/run.rb, lib/trepanning.rb,
513
+ processor/command/info_subcmd/return.rb,
514
+ processor/command/info_subcmd/variables_subcmd/locals.rb,
515
+ processor/command/set_subcmd/return.rb, processor/location.rb,
516
+ processor/validate.rb: Misc fixes.
517
+
518
+ 2015-01-28 rocky <rockyb@rubyforge.org>
519
+
520
+ * app/breakpoint.rb: Comment change
521
+
522
+ 2015-01-27 rocky <rockyb@rubyforge.org>
523
+
524
+ * app/core.rb, app/frame.rb, app/run.rb,
525
+ processor/command/info_subcmd/breakpoints.rb,
526
+ processor/command/info_subcmd/frame.rb,
527
+ processor/command/info_subcmd/program.rb: app/core.rb: handling
528
+ breakpoints. app/frame.rb: check for last frame using TOP rest:
529
+ iseq.name -> iseq.label
530
+
531
+ 2015-01-27 rocky <rockyb@rubyforge.org>
532
+
533
+ * app/core.rb, app/frame.rb, app/options.rb, lib/trepanning.rb,
534
+ processor/command/info_subcmd/return.rb, processor/default.rb,
535
+ processor/location.rb: Reinstate some of the handling of C frames
536
+ and return values via the tracepoint mechanism.
537
+
538
+ 2015-01-27 rocky <rockyb@rubyforge.org>
539
+
540
+ * app/core.rb, app/run.rb, lib/trepanning.rb, processor.rb,
541
+ processor/frame.rb, processor/validate.rb: Work in progress;
542
+ debugging is starting to work with the tracepoint API now
543
+
544
+ 2015-01-06 rocky <rockyb@rubyforge.org>
545
+
546
+ * processor/command/break.rb, processor/validate.rb: In breakpoints,
547
+ adjust offsets to go back to the trace instruction (1st instruction)
548
+ of the statement.
549
+
550
+ 2015-01-06 rocky <rockyb@rubyforge.org>
551
+
552
+ * app/frame.rb, processor/breakpoint.rb,
553
+ processor/command/break.rb, processor/default.rb,
554
+ processor/mock.rb, test/unit/test-app-brkpt.rb,
555
+ test/unit/test-app-brkptmgr.rb, test/unit/test-app-display.rb,
556
+ test/unit/test-app-frame.rb, test/unit/test-cmd-endisable.rb,
557
+ test/unit/test-proc-default.rb, test/unit/test-proc-eval.rb,
558
+ test/unit/test-subcmd-help.rb: Fix up more tests. More current->get.
559
+ Possibly some 2.1ish changes.
560
+
561
+ 2015-01-06 rocky <rockyb@rubyforge.org>
562
+
563
+ * app/core.rb, app/frame.rb, lib/trepanning.rb, processor/mock.rb,
564
+ test/unit/cmd-helper.rb, test/unit/test-app-brkpt.rb,
565
+ test/unit/test-app-brkptmgr.rb, test/unit/test-app-display.rb,
566
+ test/unit/test-app-frame.rb, test/unit/test-cmd-break.rb,
567
+ test/unit/test-cmd-endisable.rb,
568
+ test/unit/test-cmd-parse_list_cmd.rb,
569
+ test/unit/test-io-tcpserver.rb, test/unit/test-proc-eval.rb,
570
+ test/unit/test-proc-frame.rb, test/unit/test-proc-list.rb,
571
+ test/unit/test-proc-location.rb, test/unit/test-proc-validate.rb:
572
+ First pass over unit tests. Basicall y RubyVM::Frame::current ->
573
+ RubyVM::Frame::get
574
+
575
+ 2014-12-05 rocky <rockyb@rubyforge.org>
576
+
577
+ * app/core.rb, app/frame.rb, lib/trepanning.rb: Work in progress.
578
+ Start towards using tracepoint. For now we, need to simplify
579
+ whereever possible.
580
+
581
+ 2014-12-04 rocky <rockyb@rubyforge.org>
582
+
583
+ * app/breakpoint.rb, app/core.rb, app/file.rb, lib/trepanning.rb,
584
+ processor/command/debug.rb, processor/command/help.rb,
585
+ processor/eventbuf.rb, processor/frame.rb: Towards working on a
586
+ patched Ruby 2.1.5
587
+
152
588
  2013-07-14 rocky <rockyb@rubyforge.org>
153
589
 
154
590
  * : commit 2f66d769517327acbcec834c95714c7b4e8b6a92 Author: rocky