rbx-trepanning 0.0.2-universal-rubinius-1.2 → 0.0.3-universal-rubinius-1.2

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,3 +1,852 @@
1
+ 2010-12-30 brainopia <ravwar@gmail.com>
2
+
3
+ * processor/command/up.rb: Remove unneeded require with explicit
4
+ location
5
+
6
+ 2010-12-28 rocky <rockyb@rubyforge.org>
7
+
8
+ * test/unit/cmd-helper.rb, test/unit/mock-helper.rb,
9
+ test/unit/test-cmd-alias.rb, test/unit/test-cmd-break.rb,
10
+ test/unit/test-cmd-exit.rb, test/unit/test-cmd-finish.rb,
11
+ test/unit/test-cmd-help.rb, test/unit/test-cmd-kill.rb,
12
+ test/unit/test-cmd-step.rb, test/unit/test-proc-eval.rb,
13
+ test/unit/test-proc-main.rb: DRY code just a little more.
14
+
15
+ 2010-12-27 rocky <rockyb@rubyforge.org>
16
+
17
+ * processor/command/list.rb: list.rb: help text corrections.
18
+
19
+ 2010-12-27 rocky <rockyb@rubyforge.org>
20
+
21
+ * processor/command/finish.rb, processor/command/step.rb,
22
+ processor/main.rb, processor/running.rb: Add finish+ to step one in
23
+ calling method rather than stop before method return.
24
+
25
+ 2010-12-27 rocky <rockyb@rubyforge.org>
26
+
27
+ * processor/command/finish.rb, processor/command/step.rb,
28
+ processor/stepping.rb, test/unit/test-cmd-finish.rb,
29
+ test/unit/test-cmd-step.rb, test/unit/test-proc-location.rb:
30
+ step.rb: Add "step into" "step over" and "step out" as alternates
31
+ for "step", "next", and "finish" Add standalone and unit tests for
32
+ step and finish.
33
+
34
+ 2010-12-26 rocky <rockyb@rubyforge.org>
35
+
36
+ * processor/stepping.rb, test/integration/helper.rb,
37
+ test/integration/test-quit.rb: stepping.rb: Address another bug in
38
+ stepping from the begging of a file. test-quit.rb: Simple check of
39
+ .rbxrc for calling Trepan.start helper.rb: redirect stderr to stdout
40
+
41
+ 2010-12-26 rocky <rockyb@rubyforge.org>
42
+
43
+ * .gemspec, NEWS, Rakefile, lib/trepanning.rb,
44
+ processor/command/step.rb: Repackage so gem will find on rubinius
45
+ 1.2.
46
+
47
+ 2010-12-25 rocky <rockyb@rubyforge.org>
48
+
49
+ * README.textile: Oops... wrong require
50
+
51
+ 2010-12-25 rocky <rockyb@rubyforge.org>
52
+
53
+ * NEWS, README.textile, lib/trepanning.rb: Update README.textile
54
+ which was horribly out of date for something so new.
55
+
56
+ 2010-12-24 rocky <rockyb@rubyforge.org>
57
+
58
+ * THANKS: Fix some of my usual spelling and grammar mistakes.
59
+
60
+ 2010-12-23 rocky <rockyb@rubyforge.org>
61
+
62
+ * : commit b1d2605001d04ff6672c1c567fe887a2485a2b1b Author: rocky
63
+ <rockyb@rubyforge.org> Date: Thu Dec 23 11:46:30 2010 -0500
64
+
65
+ 2010-12-23 rocky <rockyb@rubyforge.org>
66
+
67
+ * Rakefile, app/frame.rb, app/iseq.rb, lib/trepanning.rb,
68
+ processor/command/disassemble.rb, processor/command/frame.rb,
69
+ processor/command/list.rb, processor/disassemble.rb,
70
+ processor/frame.rb, processor/location.rb, processor/main.rb,
71
+ processor/mock.rb, processor/running.rb,
72
+ test/unit/test-proc-eval.rb, test/unit/test-proc-frame.rb: location
73
+ -> vm_location where location is of type Rubinius::Location.
74
+
75
+ 2010-12-19 rocky <rockyb@rubyforge.org>
76
+
77
+ * processor/command/base/submgr.rb,
78
+ processor/command/disassemble.rb, processor/command/irb.rb,
79
+ processor/command/kill.rb: Sync with rb-trepanning.
80
+
81
+ 2010-12-15 rocky <rockyb@rubyforge.org>
82
+
83
+ * test/integration/helper.rb: Check $?.exitstatus after running
84
+ debugger.
85
+
86
+ 2010-12-15 rocky <rockyb@rubyforge.org>
87
+
88
+ * test/data/quit-Xdebug.right, test/integration/helper.rb,
89
+ test/integration/test-quit.rb: Add minimal -Xdebug integration test
90
+
91
+ 2010-12-15 rocky <rockyb@rubyforge.org>
92
+
93
+ * .gemspec, Rakefile, app/options.rb, lib/trepanning.rb,
94
+ test/data/.gitignore, test/data/enable.right,
95
+ test/data/fname-with-blank.cmd, test/data/fname-with-blank.right,
96
+ test/data/quit.cmd, test/data/quit.right, test/example/.gitignore,
97
+ test/example/fname with blank.rb, test/example/gcd-xx.rb,
98
+ test/example/gcd.rb, test/example/gcd1.rb, test/example/null.rb,
99
+ test/example/thread1.rb, test/integration/.gitignore,
100
+ test/integration/file-diff.rb, test/integration/helper.rb,
101
+ test/integration/test-fname-with-blank.rb,
102
+ test/integration/test-quit.rb: Start integration tests. Wasn't
103
+ packaging test/data/. Turn on "set kernelstep off" for now.
104
+
105
+ 2010-12-15 rocky <rockyb@rubyforge.org>
106
+
107
+ * lib/trepanning.rb: Turn of kernelstep for now and leave that for
108
+ the user to turn on. When things go wrong, we need this on. So
109
+ until everything is more robust leave out.
110
+
111
+ 2010-12-14 rocky <rockyb@rubyforge.org>
112
+
113
+ * processor/stepping.rb: Give error message if we can't step to
114
+ parent.
115
+
116
+ 2010-12-14 rocky <rockyb@rubyforge.org>
117
+
118
+ * NEWS, THANKS: Cleaning up in preparation for release.
119
+
120
+ 2010-12-14 rocky <rockyb@rubyforge.org>
121
+
122
+ * .gemspec, Rakefile, app/frame.rb, app/method.rb,
123
+ lib/trepanning.rb, processor/command/disassemble.rb,
124
+ processor/command/info_subcmd/program.rb,
125
+ processor/command/nexti.rb, processor/disassemble.rb,
126
+ processor/location.rb, processor/stepping.rb: Adapt to recent ip
127
+ changes - need to use next_ip rather than ip sometimes. Rakefile:
128
+ Require newer linecache and Rubinius; make gem Rubinius specific.
129
+
130
+ 2010-12-05 rocky <rockyb@rubyforge.org>
131
+
132
+ * processor/location.rb, test/functional/fn_helper.rb: Add IP when
133
+ showing location.
134
+
135
+ 2010-12-05 rocky <rockyb@rubyforge.org>
136
+
137
+ * lib/trepanning.rb, processor/command/set_subcmd/basename.rb,
138
+ processor/command/set_subcmd/kernelstep.rb,
139
+ processor/command/show_subcmd/basename.rb,
140
+ processor/command/show_subcmd/kernelstep.rb, processor/main.rb,
141
+ processor/running.rb: "set kernelstep on/off": filter out stepping
142
+ into the kernel.
143
+
144
+ 2010-12-05 rocky <rockyb@rubyforge.org>
145
+
146
+ * processor/command/base/subcmd.rb,
147
+ processor/command/set_subcmd/different.rb,
148
+ processor/command/set_subcmd/hidelevel.rb,
149
+ processor/command/show_subcmd/alias.rb, processor/running.rb: add
150
+ subcmd#prefix to DRY demo code more. Start ignore_file_re to ignore
151
+ kernel fns.
152
+
153
+ 2010-11-28 rocky <rockyb@rubyforge.org>
154
+
155
+ * Rakefile: Add rake tasts to run standalone in bulk.
156
+
157
+ 2010-11-28 rocky <rockyb@rubyforge.org>
158
+
159
+ * processor/command/info_subcmd/breakpoints.rb,
160
+ processor/command/set_subcmd/different.rb,
161
+ processor/command/set_subcmd/hidelevel.rb,
162
+ processor/command/set_subcmd/trace.rb,
163
+ processor/command/show_subcmd/alias.rb,
164
+ processor/command/show_subcmd/args.rb,
165
+ processor/command/show_subcmd/different.rb, processor/mock.rb: DRY
166
+ subcommand standalone code.
167
+
168
+ 2010-11-28 rocky <rockyb@rubyforge.org>
169
+
170
+ * processor/breakpoint.rb, processor/validate.rb: Method parsing
171
+ from "list" and "disassemble" command reused in "breakpoint" and
172
+ "continue".
173
+
174
+ 2010-11-28 rocky <rockyb@rubyforge.org>
175
+
176
+ * processor/breakpoint.rb, processor/validate.rb: Small changes.
177
+
178
+ 2010-11-28 rocky <rockyb@rubyforge.org>
179
+
180
+ * processor/command/disassemble.rb, processor/command/list.rb,
181
+ processor/validate.rb: Allow method names in the "list" command.
182
+
183
+ 2010-11-28 rvm <rocky@gnu.org>
184
+
185
+ * processor/command/disassemble.rb, processor/eval.rb: Handle method
186
+ names with '.' in disassembly. e.g. Object.is_a? or [1,2].max
187
+
188
+ 2010-11-27 rocky <rockyb@rubyforge.org>
189
+
190
+ * processor/command/set_subcmd/auto_subcmd/dis.rb,
191
+ processor/command/set_subcmd/auto_subcmd/eval.rb,
192
+ processor/command/set_subcmd/auto_subcmd/irb.rb,
193
+ processor/command/set_subcmd/auto_subcmd/list.rb,
194
+ processor/command/set_subcmd/debug_subcmd/dbgr.rb,
195
+ processor/command/set_subcmd/debug_subcmd/skip.rb,
196
+ processor/command/set_subcmd/debug_subcmd/step.rb,
197
+ processor/command/show_subcmd/auto_subcmd/eval.rb,
198
+ processor/command/show_subcmd/auto_subcmd/irb.rb,
199
+ processor/command/show_subcmd/auto_subcmd/list.rb,
200
+ processor/command/show_subcmd/debug_subcmd/dbgr.rb,
201
+ processor/command/show_subcmd/debug_subcmd/skip.rb,
202
+ processor/command/show_subcmd/debug_subcmd/step.rb,
203
+ processor/mock.rb: Start much-needed DRY of subsubcommand standalone
204
+ code. Another half remain to be shortened.
205
+
206
+ 2010-11-27 rvm <rocky@gnu.org>
207
+
208
+ * processor/command/show_subcmd/debug_subcmd/skip.rb,
209
+ processor/command/show_subcmd/debug_subcmd/step.rb: Last bugfixes
210
+ before we *really* DRY this redundant code.
211
+
212
+ 2010-11-27 rvm <rocky@gnu.org>
213
+
214
+ * app/method.rb: meth->cm
215
+
216
+ 2010-11-27 rvm <rocky@gnu.org>
217
+
218
+ * app/iseq.rb, processor/command/disassemble.rb,
219
+ processor/command/nexti.rb,
220
+ processor/command/set_subcmd/debug_subcmd/skip.rb,
221
+ processor/command/set_subcmd/debug_subcmd/step.rb,
222
+ processor/command/show_subcmd/debug_subcmd/step.rb,
223
+ processor/main.rb, processor/stepping.rb: Fix bug in nexti.rb. Add
224
+ set/show debug step. More standalone code. Start great rewrite
225
+ method/meth -> cm.
226
+
227
+ 2010-11-27 rvm <rocky@gnu.org>
228
+
229
+ * app/method.rb, processor/command/disassemble.rb: Show lines
230
+ numbers in method disassembly.
231
+
232
+ 2010-11-27 rocky <rockyb@rubyforge.org>
233
+
234
+ * processor/command/set_subcmd/auto_subcmd/dis.rb,
235
+ processor/command/show_subcmd/auto_subcmd/dis.rb,
236
+ processor/command/show_subcmd/auto_subcmd/eval.rb,
237
+ processor/command/show_subcmd/auto_subcmd/irb.rb,
238
+ processor/command/show_subcmd/auto_subcmd/list.rb,
239
+ processor/hook.rb, processor/main.rb, processor/stepping.rb: Add
240
+ "auto dis" which might be short-lived. Uncomment and fix some of the
241
+ standalone code for subcommands.
242
+
243
+ 2010-11-27 rocky <rockyb@rubyforge.org>
244
+
245
+ * lib/trepanning.rb, processor/location.rb: Small changes.
246
+
247
+ 2010-11-21 rocky <rockyb@rubyforge.org>
248
+
249
+ * lib/trepanning.rb: Add Kernel.debugger
250
+
251
+ 2010-11-21 rocky <rockyb@rubyforge.org>
252
+
253
+ * test/functional/test-next-bug.rb: Code function may be less
254
+ puzzling, not that it really matters.
255
+
256
+ 2010-11-21 rocky <rockyb@rubyforge.org>
257
+
258
+ * app/method.rb, app/run.rb, processor/command/disassemble.rb,
259
+ processor/command/next.rb, processor/main.rb, processor/running.rb,
260
+ processor/stepping.rb, test/functional/test-next-bug.rb: Fix bug in
261
+ 'next' when a line has discontinuous ips. Fix broken bin/trepanx due
262
+ to interface change in ignored_methods. Allow disassembly of methods
263
+ in "disassemble" command.
264
+
265
+ 2010-11-20 rocky <rockyb@rubyforge.org>
266
+
267
+ * processor/command/continue.rb, processor/location.rb: continue.rb:
268
+ forgotting to update a call for an interface change => brokenness.
269
+
270
+ 2010-11-20 rocky <rockyb@rubyforge.org>
271
+
272
+ * : commit a8f1ffc2c3c2d3c4417ffb9c931af78ad7b6c0c8 Author: rocky
273
+ <rockyb@rubyforge.org> Date: Sat Nov 20 21:08:40 2010 -0500
274
+
275
+ 2010-11-19 rvm <rocky@gnu.org>
276
+
277
+ * lib/trepanning.rb, processor/main.rb, processor/stepping.rb,
278
+ test/functional/test-step2.rb: Fix bug where stepping from of a
279
+ return doesn't stop on outside frame.
280
+
281
+ 2010-11-19 rocky <rockyb@rubyforge.org>
282
+
283
+ * app/iseq.rb, lib/trepanning.rb, processor/command/disassemble.rb,
284
+ processor/command/up.rb, processor/disassemble.rb,
285
+ processor/frame.rb, processor/main.rb, processor/running.rb,
286
+ processor/stepping.rb, processor/validate.rb,
287
+ test/functional/test-finish.rb, test/unit/test-app-iseq.rb: Towards
288
+ handing step across return. Nicer disassembly single statements.
289
+ Fixed method filtering iseq.c: go_between: now understands that a
290
+ return breaks the flow too lib/trepannig.rb: add initialize routine
291
+ to ignored list of filtered fns command/disassemble.rb: reorganize
292
+ so we can handle disassemble of individual methods command/up.rb:
293
+ fix comment processor/disassemble.rb: use
294
+ Rubinius::CompiledMethod::Instruction to shorten code and get
295
+ comments in output frame.rb: common routine to get parent frame.
296
+ processor/running.rb: remove bug in method filter test.
297
+ processor/stepping.rb: better generalization of related breakpoint
298
+ handling.
299
+
300
+ 2010-11-17 rocky <rockyb@rubyforge.org>
301
+
302
+ * app/method.rb, app/validate.rb, processor/breakpoint.rb,
303
+ processor/command/break.rb, processor/command/continue.rb,
304
+ processor/validate.rb, test/functional/test-tbreak.rb,
305
+ test/unit/test-app-method.rb, test/unit/test-app-validate.rb: Can
306
+ now set breakpoints on IPs. Fix status and setting of some temporary
307
+ breakpoints.
308
+
309
+ 2010-11-16 rocky <rockyb@rubyforge.org>
310
+
311
+ * .gemspec, processor/command/list.rb, processor/location.rb,
312
+ processor/validate.rb, test/functional/test-break-name.rb: Use
313
+ script caching recently added to linecache for eval-like things. As
314
+ a result, "list" now works. validate: bug in regexp was not
315
+ catching !,? or = at the end.
316
+
317
+ 2010-11-15 rvm <rocky@gnu.org>
318
+
319
+ * app/frame.rb, processor/location.rb: We pick up the eval_string
320
+ now. Thanks again, evan! (More could be done to cache info as a
321
+ file.)
322
+
323
+ 2010-11-14 rvm <rocky@gnu.org>
324
+
325
+ * processor/breakpoint.rb: Remove extraneous comment.
326
+
327
+ 2010-11-14 rvm <rocky@gnu.org>
328
+
329
+ * processor/breakpoint.rb, processor/main.rb: Delete temporary
330
+ breakpoints after hitting them.
331
+
332
+ 2010-11-14 rvm <rocky@gnu.org>
333
+
334
+ * app/irb.rb, app/iseq.rb, processor/command/disassemble.rb,
335
+ processor/command/info_subcmd/program.rb, processor/disassemble.rb,
336
+ test/unit/test-app-iseq.rb: Tag disassemble output with IP location
337
+ and breakpoints set.
338
+
339
+ 2010-11-13 rvm <rocky@gnu.org>
340
+
341
+ * app/util.rb, lib/trepanning.rb,
342
+ processor/command/set_subcmd/hidelevel.rb, processor/frame.rb:
343
+ Hiding levels below "main" for -Xdebug and trepanx better. util.rb:
344
+ Don't need dollar_0 routine anymore. set_subcmd/hidelevel.rb:
345
+ recalculate level on resetting.
346
+
347
+ 2010-11-12 rvm <rocky@gnu.org>
348
+
349
+ * app/default.rb, processor/command/restart.rb,
350
+ processor/command/show_subcmd/args.rb, processor/mock.rb: Synch with
351
+ rb-trepannning
352
+
353
+ 2010-11-11 rvm <rocky@gnu.org>
354
+
355
+ * app/method.rb, test/unit/test-app-method.rb: Add locate_line test.
356
+ Some other small changes.
357
+
358
+ 2010-11-10 rvm <rocky@gnu.org>
359
+
360
+ * app/iseq.rb, processor/running.rb, processor/stepping.rb,
361
+ test/unit/test-app-iseq.rb: "finish" should include "yield" ops in
362
+ addition to "return" ops.
363
+
364
+ 2010-11-09 rvm <rocky@gnu.org>
365
+
366
+ * data/irbrc: One more small name change.
367
+
368
+ 2010-11-09 rvm <rocky@gnu.org>
369
+
370
+ * data/irbrc, processor/command/irb.rb: trepan -> trepanx
371
+
372
+ 2010-11-09 rvm <rocky@gnu.org>
373
+
374
+ * data/irbrc, processor/command/set_subcmd/trace_subcmd/.gitignore,
375
+ processor/command/show_subcmd/trace_subcmd/.gitignore: Monkeypatch
376
+ in the proper way.
377
+
378
+ 2010-11-09 rocky <rockyb@rubyforge.org>
379
+
380
+ * app/default.rb, app/run.rb, bin/trepanx, lib/trepanning.rb,
381
+ processor/command/restart.rb,
382
+ processor/command/show_subcmd/args.rb, processor/location.rb,
383
+ processor/mock.rb, test/unit/test-app-run.rb: Greatly simplify
384
+ restart code and it's now more reliable thanks to the addition of
385
+ Rubinuis::OS_ARGV and Rubinius::OS_STARTUP_DIR. Thanks, Evan!
386
+
387
+ 2010-11-08 rocky <rockyb@rubyforge.org>
388
+
389
+ * app/default.rb, app/run.rb, lib/trepanning.rb: Generalize
390
+ standalone hack so and include -Xdebug.
391
+
392
+ 2010-11-08 rocky <rockyb@rubyforge.org>
393
+
394
+ * processor/command/backtrace.rb: Wasn't starting from top if we had
395
+ adjusted the frame. Add position indicator in backtrace and make it
396
+ look more like trepan (and gdb).
397
+
398
+ 2010-11-08 rvm <rocky@gnu.org>
399
+
400
+ * app/method.rb, app/run.rb, interface/script.rb, io/base_io.rb,
401
+ io/null_output.rb, processor/command/set_subcmd/max.rb,
402
+ processor/command/set_subcmd/max_subcmd/list.rb,
403
+ processor/command/set_subcmd/substitute.rb,
404
+ processor/command/set_subcmd/trace.rb,
405
+ processor/command/set_subcmd/trace_subcmd/.gitignore,
406
+ processor/command/set_subcmd/trace_subcmd/print.rb,
407
+ processor/command/show_subcmd/max.rb,
408
+ processor/command/show_subcmd/max_subcmd/list.rb,
409
+ processor/command/show_subcmd/trace.rb,
410
+ processor/command/show_subcmd/trace_subcmd/.gitignore,
411
+ processor/command/show_subcmd/trace_subcmd/print.rb,
412
+ processor/command/source.rb, processor/frame.rb: bin/trepanx now
413
+ stops in user script rather than the loader. It does this by rather
414
+ hacky means, but it's the best I can find for now. Added a null
415
+ output routine and the -q (silence) option on the source command.
416
+
417
+ 2010-11-08 rvm <rocky@gnu.org>
418
+
419
+ * processor/command/finish.rb, processor/command/list.rb: list.rb:
420
+ make it I hope more rational. finish.rb: some cut-and-past typos.
421
+
422
+ 2010-11-07 rvm <rocky@gnu.org>
423
+
424
+ * processor/frame.rb, test/functional/fn_helper.rb,
425
+ test/functional/test-list.rb: Fix bug in handling "list" command
426
+ after changing frames.
427
+
428
+ 2010-11-07 rvm <rocky@gnu.org>
429
+
430
+ * : commit de520fc0cd97e910e70ee6db496a0fc13344a815 Author: rvm
431
+ <rocky@gnu.org> Date: Sun Nov 7 10:09:00 2010 -0500
432
+
433
+ 2010-11-06 rocky <rockyb@rubyforge.org>
434
+
435
+ * app/method.rb, test/functional/test-break.rb: Work on setting
436
+ breakpoints via line numbers.
437
+
438
+ 2010-11-06 rvm <rocky@gnu.org>
439
+
440
+ * app/breakpoint.rb, lib/trepanning.rb,
441
+ processor/command/continue.rb, test/functional/fn_helper.rb,
442
+ test/functional/test-tbreak.rb: Had broken temporary breakpoints.
443
+ Add now a tbreak test.
444
+
445
+ 2010-11-06 rvm <rocky@gnu.org>
446
+
447
+ * lib/trepanning.rb, processor/command/finish.rb,
448
+ processor/main.rb, processor/running.rb: Code clean up due to
449
+ differen handling of stepping breakpoints.
450
+
451
+ 2010-11-06 rocky <rockyb@rubyforge.org>
452
+
453
+ * app/breakpoint.rb, app/frame.rb, lib/trepanning.rb,
454
+ processor/command/nexti.rb, processor/stepping.rb,
455
+ test/functional/test-finish.rb, test/functional/test-next.rb: Allow
456
+ breakpoints to be scoped. Fixes bugs in handling recursive "next"
457
+ and "finish". Based on Rubinius commit # 3a1c111. See issue
458
+ Rubinius issue #558
459
+
460
+ 2010-11-06 rocky <rockyb@rubyforge.org>
461
+
462
+ * processor/breakpoint.rb, processor/command/continue.rb,
463
+ processor/main.rb: Start "continue" with a target. Temp breakpoints
464
+ are borked though.
465
+
466
+ 2010-11-05 rocky <rockyb@rubyforge.org>
467
+
468
+ * app/run.rb, lib/trepanning.rb, processor/command/list.rb,
469
+ processor/running.rb: Work more on ignoring methods we don't want to
470
+ stop in.
471
+
472
+ 2010-11-05 rocky <rockyb@rubyforge.org>
473
+
474
+ * app/run.rb, processor/mock.rb, processor/running.rb: Skip over
475
+ debug_program method (used in standalone).
476
+
477
+ 2010-11-05 rocky <rockyb@rubyforge.org>
478
+
479
+ * processor/location.rb, test/unit/test-proc-location.rb: Fix bug in
480
+ not picking up remapped files the first time around.
481
+
482
+ 2010-11-05 rocky <rockyb@rubyforge.org>
483
+
484
+ * processor/command/next.rb, processor/command/step.rb,
485
+ processor/main.rb, processor/running.rb,
486
+ test/unit/test-bin-trepan.rb, test/unit/test-bin-trepanx.rb: "set
487
+ different" now works properly.
488
+
489
+ 2010-11-04 rocky <rockyb@rubyforge.org>
490
+
491
+ * processor/command/set_subcmd/hidelevel.rb, processor/default.rb,
492
+ processor/frame.rb: Some small bugs and keep in sync with
493
+ rb-trepanning.
494
+
495
+ 2010-11-04 rocky <rockyb@rubyforge.org>
496
+
497
+ * .gemspec, bin/trepan, bin/trepanx: bin/trepan -> bin/trepanx
498
+
499
+ 2010-11-04 rvm <rocky@gnu.org>
500
+
501
+ * app/run.rb, processor/command/base/subcmd.rb,
502
+ processor/command/set_subcmd/debug_subcmd/stack.rb,
503
+ processor/command/set_subcmd/different.rb,
504
+ processor/command/set_subcmd/hidelevel.rb,
505
+ processor/command/show_subcmd/debug_subcmd/stack.rb,
506
+ processor/command/show_subcmd/different.rb,
507
+ processor/command/show_subcmd/hidelevel.rb,
508
+ processor/command/show_subcmd/max_subcmd/list.rb,
509
+ processor/command/show_subcmd/max_subcmd/stack.rb,
510
+ processor/command/show_subcmd/max_subcmd/string.rb,
511
+ processor/command/show_subcmd/max_subcmd/width.rb,
512
+ processor/default.rb, processor/frame.rb, processor/validate.rb:
513
+ Replace "set debug stack" with more general "set hidelevel". Fix up
514
+ some standalone code running. Use SubSubcommand where appropriate.
515
+
516
+ 2010-11-04 rvm <rocky@gnu.org>
517
+
518
+ * lib/trepanning.rb, processor/main.rb,
519
+ test/functional/test-finish.rb, test/functional/test-next.rb,
520
+ test/functional/test-step.rb: start now stops by default at
521
+ *following* steppable statement. If you want to stop at the "start"
522
+ location, use Trepan.start{:immediate => true}
523
+
524
+ 2010-11-03 rocky <rockyb@rubyforge.org>
525
+
526
+ * lib/trepanning.rb, processor/command/info_subcmd/program.rb,
527
+ processor/main.rb, test/functional/test-finish.rb: Nil breakpoint
528
+ means "stepping call" event.
529
+
530
+ 2010-11-01 rocky <rockyb@rubyforge.org>
531
+
532
+ * test/functional/test-finish.rb, test/functional/test-next.rb:
533
+ First test of "finish" command. Todo: Looks like it's buggy when we
534
+ have recursive functions.
535
+
536
+ 2010-10-21 rocky <rockyb@rubyforge.org>
537
+
538
+ * app/util.rb, test/unit/test-app-util.rb: Try elision of long
539
+ strings in the middle of the string.
540
+
541
+ 2010-10-21 rocky <rockyb@rubyforge.org>
542
+
543
+ * app/brkptmgr.rb, app/method.rb, app/run.rb, lib/trepanning.rb,
544
+ processor/breakpoint.rb, processor/command/break.rb,
545
+ processor/command/disassemble.rb, processor/validate.rb,
546
+ test/functional/test-next.rb: Fix bug in breakpoint numbering. Fix
547
+ bug in restart when running bin/trepan breakpoint allows forms
548
+ nothing (current line) line as well as previous forms.
549
+ app/brkptmgr.rb: max should start off 0. app/method.rb: routines
550
+ for working with compiled methods app/run.rb: use dbgr passed in.
551
+ Don't smash restart_args, via set_restart, allow opts to be passed
552
+ in lib/trepanning merge dbussink's fix in rbx-head to reference
553
+ debugger command/disassemble.rb: had tropped off section header for
554
+ "all" processor/validate.rb: common routine to parse a breakpoint
555
+ position.
556
+
557
+ 2010-10-19 rvm <rocky@gnu.org>
558
+
559
+ * test/functional/test-next.rb: Add 'next' functional test.
560
+
561
+ 2010-10-19 rocky <rockyb@rubyforge.org>
562
+
563
+ * Rakefile, lib/trepanning.rb, processor/frame.rb,
564
+ processor/main.rb, processor/running.rb: Rakefile: add functional
565
+ testing lib/trepanning.rb: honor input and output interfaces when
566
+ passed processor/frame.rb: RDoc appeasement processor/main.rb:
567
+ Change commen so it makes more sense when viewed in RDoc
568
+ processor/running.rb: remove debug output.
569
+
570
+ 2010-10-19 rocky <rockyb@rubyforge.org>
571
+
572
+ * test/functional/test-step.rb: First functional test of single
573
+ stepping. WOOT!
574
+
575
+ 2010-10-19 rocky <rockyb@rubyforge.org>
576
+
577
+ * test/functional/.gitignore, test/functional/fn_helper.rb,
578
+ test/functional/test-fn_helper.rb: Baby steps toward adding
579
+ functional test: test the test helper. Some RDoc appeasements.
580
+
581
+ 2010-10-19 rocky <rockyb@rubyforge.org>
582
+
583
+ * app/breakpoint.rb, processor/breakpoint.rb,
584
+ processor/command/finish.rb, processor/running.rb,
585
+ processor/stepping.rb: Add finish (step out) command.
586
+ app/breakpoint.rb: generalize paired breakpoints to more than two
587
+ which is needed for finish. processor/breakpoint.rb: fix bugs
588
+ caused by refactoring
589
+
590
+ 2010-10-18 rvm <rocky@gnu.org>
591
+
592
+ * app/iseq.rb, processor/stepping.rb, test/unit/test-app-iseq.rb:
593
+ Extract, test, and fix more instruction sequence routines.
594
+
595
+ 2010-10-18 rvm <rocky@gnu.org>
596
+
597
+ * app/iseq.rb, processor/command/set_subcmd/debug_subcmd/skip.rb,
598
+ processor/command/show_subcmd/debug_subcmd/skip.rb,
599
+ processor/main.rb, processor/mock.rb, processor/stepping.rb,
600
+ test/unit/test-cmd-alias.rb, test/unit/test-proc-eval.rb,
601
+ test/unit/test-proc-main.rb: Add set/show debug skip. Start moving
602
+ out instruction sequence code to module.
603
+
604
+ 2010-10-18 rvm <rocky@gnu.org>
605
+
606
+ * app/run.rb, lib/trepanning.rb, processor/command/disassemble.rb,
607
+ processor/frame.rb, processor/main.rb, processor/running.rb,
608
+ processor/stepping.rb: Hide level only if it makes sense. Start work
609
+ on finish. (Not complete). Fix But in stepping test.
610
+
611
+ 2010-10-17 rvm <rocky@gnu.org>
612
+
613
+ * processor/command/next.rb, processor/command/step.rb,
614
+ processor/main.rb, processor/running.rb: Next/step <count> now
615
+ works.
616
+
617
+ 2010-10-17 rvm <rocky@gnu.org>
618
+
619
+ * processor/command/continue.rb, processor/command/next.rb,
620
+ processor/command/nexti.rb, processor/command/step.rb,
621
+ processor/main.rb, processor/running.rb, processor/stepping.rb: Move
622
+ return-to-program control into main.rb. Facilitates handling step
623
+ filtering.
624
+
625
+ 2010-10-17 rvm <rocky@gnu.org>
626
+
627
+ * processor/command/next.rb, processor/command/step.rb,
628
+ processor/main.rb, processor/stepping.rb: Move stepping code to
629
+ Trepan::CmdProcessor in file processor/stepping.rb
630
+
631
+ 2010-10-16 rvm <rocky@gnu.org>
632
+
633
+ * processor/mock.rb, test/unit/test-cmd-help.rb: Reinstate expect
634
+ message on assert
635
+
636
+ 2010-10-16 rvm <rocky@gnu.org>
637
+
638
+ * processor/command/alias.rb, processor/command/list.rb,
639
+ processor/command/pr.rb, processor/command/show.rb: DRY code with
640
+ respect to Mock setup. less hard-coding of command names via #{NAME}
641
+
642
+ 2010-10-16 rvm <rocky@gnu.org>
643
+
644
+ * : commit 3309874e7bfd623ce4c93e08812ee343f4f98d16 Author: rvm
645
+ <rocky@gnu.org> Date: Sat Oct 16 10:16:11 2010 -0400
646
+
647
+ 2010-10-14 rocky <rockyb@rubyforge.org>
648
+
649
+ * processor/command/pr.rb: Add print/eval with truncated output for
650
+ long strings.
651
+
652
+ 2010-10-14 rocky <rockyb@rubyforge.org>
653
+
654
+ * processor/command/set_subcmd/debug_subcmd/dbgr.rb,
655
+ processor/command/show_subcmd/debug_subcmd/dbgr.rb,
656
+ processor/command/step.rb, processor/main.rb, processor/running.rb,
657
+ test/unit/test-base-subcmd.rb: running.rb, step.rb: More work trying
658
+ to put into a normal command loop. Add "set debug dbgr". Add test
659
+ of base commands.
660
+
661
+ 2010-10-14 rvm <rocky@gnu.org>
662
+
663
+ * lib/trepanning.rb, processor/breakpoint.rb, processor/main.rb,
664
+ processor/running.rb: Add Trepan.breakpoint instance variable. Start
665
+ to get step count and stuff in place for step filtering.
666
+
667
+ 2010-10-13 rvm <rocky@gnu.org>
668
+
669
+ * app/irb.rb, data/.gitignore, data/irbrc,
670
+ processor/command/irb.rb,
671
+ processor/command/set_subcmd/auto_subcmd/irb.rb,
672
+ processor/command/show_subcmd/auto_subcmd/irb.rb, processor/mock.rb:
673
+ Add debugger 'irb' command and set/show autoirb.
674
+
675
+ 2010-10-13 rocky <rockyb@rubyforge.org>
676
+
677
+ * processor/hook.rb: Add set/show debug dbgr.
678
+
679
+ 2010-10-13 rocky <rockyb@rubyforge.org>
680
+
681
+ * processor/command/set_subcmd/auto.rb,
682
+ processor/command/set_subcmd/debug.rb,
683
+ processor/command/set_subcmd/debug_subcmd/.gitignore,
684
+ processor/command/set_subcmd/debug_subcmd/stack.rb,
685
+ processor/command/show_subcmd/args.rb,
686
+ processor/command/show_subcmd/debug.rb,
687
+ processor/command/show_subcmd/debug_subcmd/.gitignore,
688
+ processor/command/show_subcmd/debug_subcmd/stack.rb,
689
+ processor/command/show_subcmd/max.rb: Add set/show debug stack - to
690
+ hide/show least-recent boilerplate frames that are generally not a
691
+ programmer's concern.
692
+
693
+ 2010-10-13 rocky <rockyb@rubyforge.org>
694
+
695
+ * app/util.rb, processor/command/backtrace.rb, processor/frame.rb,
696
+ test/unit/test-app-util.rb, test/unit/test-proc-frame.rb: Start
697
+ hiding boilerplate start-up frames. set debug stack (which has not
698
+ been put in yet) will let you see these frames.
699
+
700
+ 2010-10-12 rocky <rockyb@rubyforge.org>
701
+
702
+ * processor/mock.rb, test/unit/cmd-helper.rb,
703
+ test/unit/test-cmd-break.rb: First breakpoint unit test. Yay!
704
+
705
+ 2010-10-12 rocky <rockyb@rubyforge.org>
706
+
707
+ * processor/frame.rb, processor/mock.rb, processor/validate.rb,
708
+ test/unit/test-proc-frame.rb: Reinstate most of the processor/frame
709
+ unit test from rb-trepanning.
710
+
711
+ 2010-10-12 rocky <rockyb@rubyforge.org>
712
+
713
+ * lib/trepanning.rb, processor/frame.rb, processor/main.rb: Small
714
+ frame code cleanups.
715
+
716
+ 2010-10-12 rvm <rocky@gnu.org>
717
+
718
+ * app/brkptmgr.rb, app/frame.rb, lib/trepanning.rb,
719
+ processor/breakpoint.rb, processor/command/break.rb: Address
720
+ breakpoints broken in last breakpoint reorganization.
721
+
722
+ 2010-10-12 rvm <rocky@gnu.org>
723
+
724
+ * processor/command/continue.rb, processor/command/next.rb,
725
+ processor/command/nexti.rb, processor/command/step.rb,
726
+ processor/main.rb, processor/running.rb: Start to get control over
727
+ what happens before and after returning to debugged program. This
728
+ will be needed to handle filtering stops (used for example when
729
+ running the debugger from the outset) and recording events in an
730
+ event buffer.
731
+
732
+ 2010-10-11 rvm <rocky@gnu.org>
733
+
734
+ * lib/trepanning.rb, processor/frame.rb, processor/main.rb:
735
+ processor/frame.rb: show location in usual format, not the backtrace
736
+ format processor/main.rb: reinstate code with print_loatio
737
+ lib/trepanning.rb: spelling correction in comment.
738
+
739
+ 2010-10-08 rocky <rockyb@rubyforge.org>
740
+
741
+ * lib/trepanning.rb, processor/command/disassemble.rb,
742
+ processor/disassemble.rb, processor/frame.rb,
743
+ processor/location.rb, processor/main.rb: Move some disassembly code
744
+ from lib/trepanning.rb to processor/disassemble.rb
745
+
746
+ 2010-10-08 rocky <rockyb@rubyforge.org>
747
+
748
+ * Makefile, processor/Makefile: Add boilerplate Makefile's
749
+
750
+ 2010-10-08 rocky <rockyb@rubyforge.org>
751
+
752
+ * test/unit/test-unit-exit.rb: How did this get in there?
753
+
754
+ 2010-10-08 rocky <rockyb@rubyforge.org>
755
+
756
+ * processor/command/info_subcmd/breakpoints.rb,
757
+ test/unit/test-cmd-exit.rb: Add unit test for exit. Add help for
758
+ "info breakpoints". Copied from rb-trepanning - Not quite accurate
759
+ yet.
760
+
761
+ 2010-10-08 rocky <rockyb@rubyforge.org>
762
+
763
+ * processor/command/source.rb: Small things to sync up with
764
+ rb-trepanning
765
+
766
+ 2010-10-08 rocky <rockyb@rubyforge.org>
767
+
768
+ * app/breakpoint.rb, app/brkptmgr.rb, lib/trepanning.rb,
769
+ processor/command/break.rb, processor/command/next.rb,
770
+ processor/command/nexti.rb, processor/command/tbreak.rb,
771
+ test/unit/test-app-brkpt.rb, test/unit/test-app-brkptmgr.rb: Small
772
+ things to sync up with rb-trepanning
773
+
774
+ 2010-10-07 rocky <rockyb@rubyforge.org>
775
+
776
+ * processor/command/list.rb: Add current-line indicator.
777
+
778
+ 2010-10-07 rocky <rockyb@rubyforge.org>
779
+
780
+ * Rakefile, app/breakpoint.rb, app/brkptmgr.rb, lib/trepanning.rb,
781
+ processor/command/info.rb,
782
+ processor/command/info_subcmd/breakpoints.rb,
783
+ processor/command/tbreak.rb, test/unit/test-app-brkptmgr.rb: More
784
+ better tests of breakpoint manager. There is some breakage remaining
785
+ though. info_subcmd/breakpoints.rb: work on this. Again there's
786
+ some breakage from the bp manager merge Rakefile: add task
787
+ check:app. Correct check:command.
788
+
789
+ 2010-10-07 rocky <rockyb@rubyforge.org>
790
+
791
+ * lib/trepanning.rb, processor/location.rb: Show location in same
792
+ format as 1.9.2 debugger (and other gdb-like debuggers).
793
+
794
+ 2010-10-07 rocky <rockyb@rubyforge.org>
795
+
796
+ * lib/trepanning.rb, processor/command/info_subcmd/program.rb,
797
+ processor/command/next.rb, processor/command/nexti.rb,
798
+ processor/location.rb, processor/main.rb: lib/trepanning.rb,
799
+ nexti.rb, next.rb: make event names match rb-trepanning. Use string
800
+ not symbol. location.rb: Reinstate print_location.
801
+
802
+ 2010-10-07 rocky <rockyb@rubyforge.org>
803
+
804
+ * app/breakpoint.rb, lib/trepanning.rb, processor/command/break.rb,
805
+ processor/command/info_subcmd/program.rb,
806
+ processor/command/next.rb, processor/command/nexti.rb: Start to add
807
+ stopped event types.
808
+
809
+ 2010-10-07 rocky <rockyb@rubyforge.org>
810
+
811
+ * app/brkptmgr.rb, lib/trepanning.rb, processor/breakpoint.rb,
812
+ processor/command/break.rb, processor/command/next.rb: Move
813
+ set-breakpoint_method from lib/trepanning.rb into
814
+ processor/breakpoint.rb brktmgr.rb: add rest of demo code
815
+ lib/trepanning.rb: Don't need @breakpoints anymore. Use
816
+ @processor.brkpts next.rb: typo.
817
+
818
+ 2010-10-05 rocky <rockyb@rubyforge.org>
819
+
820
+ * app/breakpoint.rb, lib/trepanning.rb, test/unit/test-app-brkpt.rb:
821
+ breakpoint.rb: respect setting id value when passed. Add some demo
822
+ code. Add unit test for app/breakpoint.rb
823
+
824
+ 2010-10-04 rocky <rockyb@rubyforge.org>
825
+
826
+ * app/brkptmgr.rb: Start Breakpoint manager.
827
+
828
+ 2010-10-04 rocky <rockyb@rubyforge.org>
829
+
830
+ * app/breakpoint.rb, lib/trepanning.rb, processor/command/next.rb,
831
+ processor/command/nexti.rb: Baby step towards merging breakpoint
832
+ handling with rb-trepanning.
833
+
834
+ 2010-09-29 rocky <rockyb@rubyforge.org>
835
+
836
+ * processor/command/set_subcmd/substitute.rb,
837
+ processor/command/set_subcmd/substitute_subcmd/.gitignore,
838
+ processor/command/set_subcmd/substitute_subcmd/path.rb: Add "set
839
+ substitute ppath" command.
840
+
841
+ 2010-09-27 rocky <rockyb@rubyforge.org>
842
+
843
+ * processor/command/info_subcmd/file.rb: Add "info file".
844
+
845
+ 2010-09-27 rocky <rockyb@rubyforge.org>
846
+
847
+ * ChangeLog, processor/location.rb: Track rbx-linecache change which
848
+ was tracking a change from linecache-tf...
849
+
1
850
  2010-09-27 rocky <rockyb@rubyforge.org>
2
851
 
3
852
  * README.textile: README tyhpo
@@ -105,9 +954,8 @@
105
954
 
106
955
  * .gemspec, AUTHORS, Rakefile, THANKS, app/options.rb, app/run.rb,
107
956
  bin/.gitignore, bin/trepan, processor/command/break.rb: Add code to
108
- invoke from outset. Complete with debugger options. Needs
109
- improvement to skip over the crap before main.__script__ starts.
110
- Numerous other small changes.
957
+ invoke from outset. Complete with debugger options. Needs
958
+ improvement to skip over the crap before main.__script__ starts. Numerous other small changes.
111
959
 
112
960
  2010-09-25 rocky <rockyb@rubyforge.org>
113
961
 
@@ -152,12 +1000,11 @@
152
1000
  processor/command/delete.rb, processor/command/source.rb,
153
1001
  processor/frame.rb, processor/main.rb, test/unit/cmd-helper.rb,
154
1002
  test/unit/test-unit-exit.rb: debugger.rb : remove show_ip option.
155
- Goes in processor. bang on breakpoint code. move some to
1003
+ Goes in processor. bang on breakpoint code. move some to
156
1004
  processor/breakpoint.rb processor/breakpoint.rb: more error checking
157
- info app/frame.rb: describe() pass in options - add show IP
158
- parameter. remove duplicate ip location
159
- app/breakpoint.rb: change IP location indicator from + to @. Is this
160
- right? base/cmd.rb: run_code() was wrong. Other misc bugs fixed.
1005
+ info app/frame.rb: describe() pass in options - add show IP parameter. remove duplicate ip location app/breakpoint.rb: change
1006
+ IP location indicator from + to @. Is this right? base/cmd.rb:
1007
+ run_code() was wrong. Other misc bugs fixed.
161
1008
 
162
1009
  2010-09-24 rocky <rockyb@rubyforge.org>
163
1010
 
@@ -191,7 +1038,7 @@
191
1038
  processor/command/show_subcmd/max_subcmd/width.rb,
192
1039
  processor/default.rb, processor/eval.rb, processor/main.rb: Add max
193
1040
  set/show subcommands "info program" processor eval now sets filename
194
- and we now store breakpoint ids. prompt is more inline with other
1041
+ and we now store breakpoint ids. prompt is more inline with other
195
1042
  debuggers :-(
196
1043
 
197
1044
  2010-09-23 rocky <rockyb@rubyforge.org>
@@ -226,7 +1073,7 @@
226
1073
  processor/command/set_subcmd/different.rb,
227
1074
  processor/command/show_subcmd/different.rb, processor/default.rb,
228
1075
  processor/mock.rb, processor/subcmd.rb: Finish up last of commands
229
- to be converted from reference debugger. Add some of routines from
1076
+ to be converted from reference debugger. Add some of routines from
230
1077
  trepan for 1.9.2.
231
1078
 
232
1079
  2010-09-23 rocky <rockyb@rubyforge.org>
@@ -338,8 +1185,8 @@
338
1185
  processor/mock.rb, test/unit/.gitignore, test/unit/cmd-helper.rb,
339
1186
  test/unit/test-cmd-help.rb, test/unit/test-cmd-kill.rb,
340
1187
  test/unit/test-io-input.rb, test/unit/test-proc-load_cmds.rb: Get
341
- command loading boilerplate. Help is there now. Interface added. And
342
- even some of the unit tests!
1188
+ command loading boilerplate. Help is there now. Interface added.
1189
+ And even some of the unit tests!
343
1190
 
344
1191
  2010-09-21 rocky <rockyb@rubyforge.org>
345
1192
 
@@ -360,7 +1207,7 @@
360
1207
  debugger/command/set.rb, debugger/command/show.rb,
361
1208
  debugger/command/step.rb, debugger/command/tb.rb,
362
1209
  debugger/commands.rb, debugger/display.rb, debugger/frame.rb: Put
363
- all commands in the 'command' directory. Add temporary hack to keep
1210
+ all commands in the 'command' directory. Add temporary hack to keep
364
1211
  Command.command singleton array from growing on running each
365
1212
  debugger command.
366
1213