rbx-trepanning 0.0.3-universal-rubinius-1.2 → 0.0.4-universal-rubinius-1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +152 -55
- data/NEWS +7 -0
- data/Rakefile +1 -1
- data/app/breakpoint.rb +3 -2
- data/app/breakpoint.rbc +207 -220
- data/app/brkptmgr.rb +84 -82
- data/app/brkptmgr.rbc +263 -193
- data/app/client.rb +61 -0
- data/app/client.rbc +1225 -0
- data/app/default.rb +17 -7
- data/app/default.rbc +302 -181
- data/app/display.rb +134 -21
- data/app/display.rbc +2176 -566
- data/app/iseq.rb +33 -11
- data/app/iseq.rbc +634 -243
- data/app/llvm.rbc +2576 -0
- data/app/options.rb +51 -20
- data/app/options.rb.orig +154 -0
- data/app/options.rbc +1148 -561
- data/app/rbx-llvm.rb +165 -0
- data/app/util.rb +1 -1
- data/app/util.rbc +38 -32
- data/bin/trepan.orig +0 -0
- data/bin/trepan.rej +11 -0
- data/bin/trepanx +13 -8
- data/bin/trepanx.compiled.rbc +373 -319
- data/interface/base_intf.rb +11 -5
- data/interface/base_intf.rbc +173 -70
- data/interface/client.rb +80 -0
- data/interface/client.rbc +1072 -0
- data/interface/comcodes.rb +18 -0
- data/interface/comcodes.rbc +343 -0
- data/interface/server.rb +143 -0
- data/interface/server.rbc +2213 -0
- data/interface/user.rb +1 -8
- data/interface/user.rbc +68 -165
- data/io/base_io.rb +56 -2
- data/io/base_io.rbc +727 -20
- data/io/tcpclient.rb +123 -0
- data/io/tcpclient.rbc +2327 -0
- data/io/tcpfns.rb +31 -0
- data/io/tcpfns.rbc +652 -0
- data/io/tcpserver.rb +138 -0
- data/io/tcpserver.rbc +2585 -0
- data/lib/trepanning.rb +91 -56
- data/lib/trepanning.rb.orig +433 -0
- data/lib/trepanning.rb.rej +11 -0
- data/lib/trepanning.rbc +1954 -1340
- data/processor/command/backtrace.rb +45 -15
- data/processor/command/base/cmd.rb +10 -6
- data/processor/command/base/subcmd.rb +16 -1
- data/processor/command/complete.rb +47 -0
- data/processor/command/continue.rb +4 -3
- data/processor/command/directory.rb +9 -1
- data/processor/command/disassemble.rb +22 -7
- data/processor/command/display.rb +82 -0
- data/processor/command/eval.rb +3 -1
- data/processor/command/exit.rb +4 -0
- data/processor/command/help.rb +69 -18
- data/processor/command/info_subcmd/breakpoints.rb +6 -8
- data/processor/command/info_subcmd/file.rb +5 -7
- data/processor/command/info_subcmd/method.rb +9 -9
- data/processor/command/info_subcmd/program.rb +3 -4
- data/processor/command/info_subcmd/variables.rb +4 -3
- data/processor/command/list.rb +8 -4
- data/processor/command/nexti.rb +2 -2
- data/processor/command/pr.rb +2 -2
- data/processor/command/ps.rb +2 -2
- data/processor/command/server.rb +72 -0
- data/processor/command/set_subcmd/auto.rb +2 -3
- data/processor/command/set_subcmd/basename.rb +3 -4
- data/processor/command/set_subcmd/debug.rb +2 -3
- data/processor/command/set_subcmd/different.rb +3 -4
- data/processor/command/set_subcmd/hidelevel.rb +6 -7
- data/processor/command/set_subcmd/highlight.rb +33 -0
- data/processor/command/set_subcmd/kernelstep.rb +3 -4
- data/processor/command/set_subcmd/max.rb +2 -4
- data/processor/command/set_subcmd/max_subcmd/string.rb +44 -22
- data/processor/command/set_subcmd/substitute.rb +2 -3
- data/processor/command/set_subcmd/trace.rb +3 -4
- data/processor/command/show_subcmd/alias.rb +3 -4
- data/processor/command/show_subcmd/args.rb +2 -3
- data/processor/command/show_subcmd/auto.rb +1 -2
- data/processor/command/show_subcmd/basename.rb +2 -3
- data/processor/command/show_subcmd/debug.rb +1 -2
- data/processor/command/show_subcmd/different.rb +2 -3
- data/processor/command/show_subcmd/hidelevel.rb +1 -2
- data/processor/command/show_subcmd/highlight.rb +24 -0
- data/processor/command/show_subcmd/kernelstep.rb +3 -6
- data/processor/command/show_subcmd/max.rb +4 -5
- data/processor/command/show_subcmd/trace.rb +9 -11
- data/processor/command/show_subcmd/version.rb +23 -0
- data/processor/command/source.rb +75 -31
- data/processor/command/undisplay.rb +59 -0
- data/processor/default.rb +4 -4
- data/processor/disassemble.rb +18 -5
- data/processor/display.rb +18 -0
- data/processor/location.rb +15 -5
- data/processor/main.rb +27 -13
- data/processor/mock.rb +12 -9
- data/processor/msg.rb +24 -9
- data/processor/stepping.rb +10 -12
- data/sample/list-terminal-colors.rb +139 -0
- data/sample/list-terminal-colors.rbc +2164 -0
- data/sample/rocky-dot-trepanrc.orig +0 -0
- data/sample/rocky-dot-trepanrc.rej +11 -0
- data/sample/rocky-dot-trepanxrc +14 -0
- data/sample/rocky-trepanx-colors.rb +39 -0
- data/test/data/fname-with-blank.right +3 -0
- data/test/data/inline-call.cmd +6 -0
- data/test/data/inline-call.right +13 -0
- data/test/data/quit.right +2 -0
- data/test/example/{gcd1.rb → gcd-server.rb} +4 -6
- data/test/example/gcd.rb +0 -0
- data/test/example/inline-call.rb +23 -0
- data/test/integration/helper.rb +8 -8
- data/test/integration/test-fname-with-blank.rb +5 -1
- data/test/integration/test-inline-call.rb +20 -0
- data/test/integration/test-quit.rb +5 -1
- data/test/unit/cmd-helper.rb +7 -4
- data/test/unit/mock-helper.rb +1 -0
- data/test/unit/test-app-brkpt.rb +4 -5
- data/test/unit/test-app-brkptmgr.rb +2 -2
- data/test/unit/test-app-iseq.rb +29 -14
- data/test/unit/test-app-options.rb +26 -5
- data/test/unit/test-base-subcmd.rb +1 -1
- data/test/unit/test-cmd-source.rb +34 -0
- data/test/unit/test-io-tcp.rb +33 -0
- data/test/unit/test-io-tcpclient.rb +53 -0
- data/test/unit/test-io-tcpfns.rb +17 -0
- data/test/unit/test-io-tcpserver.rb +50 -0
- data/test/unit/test-proc-main.rb +6 -2
- metadata +53 -10
- data/test/example/gcd-xx.rb +0 -18
data/ChangeLog
CHANGED
@@ -1,3 +1,69 @@
|
|
1
|
+
2011-01-09 rocky <rockyb@rubyforge.org>
|
2
|
+
|
3
|
+
* lib/trepanning.rb, processor/command/directory.rb,
|
4
|
+
test/data/inline-call.cmd, test/example/gcd-inline-call.rb,
|
5
|
+
test/example/gcd-server.rb, test/example/gcd-xx.rb,
|
6
|
+
test/example/gcd1.rb: A number of small enhancements and little bug
|
7
|
+
fixes. trepanning.rb: 1. set default input/output correctly.
|
8
|
+
2. add debugger alias for start 3. Allow cmdfile
|
9
|
+
specification in start/debugger 4. Allow script
|
10
|
+
options in cmdfile specification via tuple directory.rb: Expand help
|
11
|
+
string example/gcd-*.rb: Start examples of above changes. No
|
12
|
+
integration tests yet :-(
|
13
|
+
|
14
|
+
2011-01-09 rocky <rockyb@rubyforge.org>
|
15
|
+
|
16
|
+
* app/client.rb, interface/base_intf.rb, interface/client.rb,
|
17
|
+
interface/comcodes.rb, interface/server.rb, io/tcpserver.rb,
|
18
|
+
processor/command/exit.rb, processor/main.rb: Remote debugging
|
19
|
+
minimally works.
|
20
|
+
|
21
|
+
2011-01-08 rocky <rockyb@rubyforge.org>
|
22
|
+
|
23
|
+
* app/client.rb, app/default.rb, app/options.rb, bin/trepanx,
|
24
|
+
interface/base_intf.rb, interface/client.rb, interface/comcodes.rb,
|
25
|
+
interface/server.rb, interface/user.rb, io/tcpserver.rb,
|
26
|
+
lib/trepanning.rb, processor/command/continue.rb,
|
27
|
+
processor/main.rb, test/unit/test-app-options.rb: First hint that
|
28
|
+
remote debugging will work someday. options.rb, default.rb: Add
|
29
|
+
--client and --server options client.rb: front-end client read loop
|
30
|
+
continue.rb: fix docstring
|
31
|
+
|
32
|
+
2011-01-08 rocky <rockyb@rubyforge.org>
|
33
|
+
|
34
|
+
* .gemspec, app/default.rb, app/options.rb, lib/trepanning.rb: Add
|
35
|
+
--server option and remove duplicate version number.
|
36
|
+
|
37
|
+
2011-01-08 rocky <rockyb@rubyforge.org>
|
38
|
+
|
39
|
+
* interface/client.rb, interface/server.rb, interface/user.rb,
|
40
|
+
io/tcpserver.rb, test/unit/test-io-tcp.rb,
|
41
|
+
test/unit/test-io-tcpclient.rb, test/unit/test-io-tcpserver.rb:
|
42
|
+
Start client interface. Test TCP server/client pair together.
|
43
|
+
|
44
|
+
2011-01-08 rocky <rockyb@rubyforge.org>
|
45
|
+
|
46
|
+
* io/tcpclient.rb, test/unit/test-io-tcpclient.rb,
|
47
|
+
test/unit/test-io-tcpserver.rb: Add rudimentary TCP client-side I/O.
|
48
|
+
Have neither tested combo, nor higher-level interface.
|
49
|
+
|
50
|
+
2011-01-08 rocky <rockyb@rubyforge.org>
|
51
|
+
|
52
|
+
Merge branch 'master' of github.com:rocky/rbx-trepanning
|
53
|
+
|
54
|
+
2011-01-08 rocky <rockyb@rubyforge.org>
|
55
|
+
|
56
|
+
* interface/comcodes.rb, interface/server.rb, io/base_io.rb,
|
57
|
+
io/tcpfns.rb, io/tcpserver.rb, test/unit/test-io-tcpfns.rb,
|
58
|
+
test/unit/test-io-tcpserver.rb: Start working on remote or
|
59
|
+
out-of-process debugging, staring with TCP connections. Server IO
|
60
|
+
started. Still need client, more of the interface and setup side.
|
61
|
+
That is, much much more work is needed.
|
62
|
+
|
63
|
+
2011-01-01 rocky <rockyb@rubyforge.org>
|
64
|
+
|
65
|
+
* ChangeLog, NEWS, lib/trepanning.rb: Get ready for release 0.0.3
|
66
|
+
|
1
67
|
2010-12-30 brainopia <ravwar@gmail.com>
|
2
68
|
|
3
69
|
* processor/command/up.rb: Remove unneeded require with explicit
|
@@ -35,9 +101,10 @@
|
|
35
101
|
|
36
102
|
* processor/stepping.rb, test/integration/helper.rb,
|
37
103
|
test/integration/test-quit.rb: stepping.rb: Address another bug in
|
38
|
-
stepping from the begging of a file.
|
104
|
+
stepping from the begging of a file. test-quit.rb: Simple check of
|
39
105
|
.rbxrc for calling Trepan.start helper.rb: redirect stderr to stdout
|
40
106
|
|
107
|
+
|
41
108
|
2010-12-26 rocky <rockyb@rubyforge.org>
|
42
109
|
|
43
110
|
* .gemspec, NEWS, Rakefile, lib/trepanning.rb,
|
@@ -59,8 +126,11 @@
|
|
59
126
|
|
60
127
|
2010-12-23 rocky <rockyb@rubyforge.org>
|
61
128
|
|
62
|
-
|
63
|
-
|
129
|
+
Merge branch 'master' of github.com:rocky/rbx-trepanning
|
130
|
+
|
131
|
+
2010-12-23 rocky <rockyb@rubyforge.org>
|
132
|
+
|
133
|
+
* .gemspec, Rakefile, THANKS: Administrivia updates.
|
64
134
|
|
65
135
|
2010-12-23 rocky <rockyb@rubyforge.org>
|
66
136
|
|
@@ -88,6 +158,7 @@
|
|
88
158
|
* test/data/quit-Xdebug.right, test/integration/helper.rb,
|
89
159
|
test/integration/test-quit.rb: Add minimal -Xdebug integration test
|
90
160
|
|
161
|
+
|
91
162
|
2010-12-15 rocky <rockyb@rubyforge.org>
|
92
163
|
|
93
164
|
* .gemspec, Rakefile, app/options.rb, lib/trepanning.rb,
|
@@ -105,8 +176,8 @@
|
|
105
176
|
2010-12-15 rocky <rockyb@rubyforge.org>
|
106
177
|
|
107
178
|
* lib/trepanning.rb: Turn of kernelstep for now and leave that for
|
108
|
-
the user to turn on.
|
109
|
-
|
179
|
+
the user to turn on. When things go wrong, we need this on. So until
|
180
|
+
everything is more robust leave out.
|
110
181
|
|
111
182
|
2010-12-14 rocky <rockyb@rubyforge.org>
|
112
183
|
|
@@ -124,7 +195,7 @@
|
|
124
195
|
processor/command/info_subcmd/program.rb,
|
125
196
|
processor/command/nexti.rb, processor/disassemble.rb,
|
126
197
|
processor/location.rb, processor/stepping.rb: Adapt to recent ip
|
127
|
-
changes - need to use next_ip rather than ip sometimes.
|
198
|
+
changes - need to use next_ip rather than ip sometimes. Rakefile:
|
128
199
|
Require newer linecache and Rubinius; make gem Rubinius specific.
|
129
200
|
|
130
201
|
2010-12-05 rocky <rockyb@rubyforge.org>
|
@@ -269,8 +340,12 @@
|
|
269
340
|
|
270
341
|
2010-11-20 rocky <rockyb@rubyforge.org>
|
271
342
|
|
272
|
-
|
273
|
-
|
343
|
+
Merge branch 'master' of github.com:rocky/rbx-trepanning
|
344
|
+
|
345
|
+
2010-11-20 rocky <rockyb@rubyforge.org>
|
346
|
+
|
347
|
+
* processor/frame.rb, processor/location.rb: Remap eval strings to
|
348
|
+
temporary files. Use a better eval location indicator.
|
274
349
|
|
275
350
|
2010-11-19 rvm <rocky@gnu.org>
|
276
351
|
|
@@ -291,7 +366,7 @@
|
|
291
366
|
to ignored list of filtered fns command/disassemble.rb: reorganize
|
292
367
|
so we can handle disassemble of individual methods command/up.rb:
|
293
368
|
fix comment processor/disassemble.rb: use
|
294
|
-
|
369
|
+
Rubinius::CompiledMethod::Instruction to shorten code and get
|
295
370
|
comments in output frame.rb: common routine to get parent frame.
|
296
371
|
processor/running.rb: remove bug in method filter test.
|
297
372
|
processor/stepping.rb: better generalization of related breakpoint
|
@@ -310,9 +385,9 @@
|
|
310
385
|
|
311
386
|
* .gemspec, processor/command/list.rb, processor/location.rb,
|
312
387
|
processor/validate.rb, test/functional/test-break-name.rb: Use
|
313
|
-
script caching recently added to linecache for eval-like things.
|
314
|
-
a result, "list" now works.
|
315
|
-
|
388
|
+
script caching recently added to linecache for eval-like things. As
|
389
|
+
a result, "list" now works. validate: bug in regexp was not catching
|
390
|
+
!,? or = at the end.
|
316
391
|
|
317
392
|
2010-11-15 rvm <rocky@gnu.org>
|
318
393
|
|
@@ -340,8 +415,8 @@
|
|
340
415
|
|
341
416
|
* app/util.rb, lib/trepanning.rb,
|
342
417
|
processor/command/set_subcmd/hidelevel.rb, processor/frame.rb:
|
343
|
-
Hiding levels below "main" for -Xdebug and trepanx better.
|
344
|
-
Don't need dollar_0 routine anymore.
|
418
|
+
Hiding levels below "main" for -Xdebug and trepanx better. util.rb:
|
419
|
+
Don't need dollar_0 routine anymore. set_subcmd/hidelevel.rb:
|
345
420
|
recalculate level on resetting.
|
346
421
|
|
347
422
|
2010-11-12 rvm <rocky@gnu.org>
|
@@ -392,7 +467,7 @@
|
|
392
467
|
2010-11-08 rocky <rockyb@rubyforge.org>
|
393
468
|
|
394
469
|
* processor/command/backtrace.rb: Wasn't starting from top if we had
|
395
|
-
adjusted the frame.
|
470
|
+
adjusted the frame. Add position indicator in backtrace and make it
|
396
471
|
look more like trepan (and gdb).
|
397
472
|
|
398
473
|
2010-11-08 rvm <rocky@gnu.org>
|
@@ -410,14 +485,14 @@
|
|
410
485
|
processor/command/show_subcmd/trace_subcmd/.gitignore,
|
411
486
|
processor/command/show_subcmd/trace_subcmd/print.rb,
|
412
487
|
processor/command/source.rb, processor/frame.rb: bin/trepanx now
|
413
|
-
stops in user script rather than the loader.
|
414
|
-
hacky means, but it's the best I can find for now.
|
488
|
+
stops in user script rather than the loader. It does this by rather
|
489
|
+
hacky means, but it's the best I can find for now. Added a null
|
415
490
|
output routine and the -q (silence) option on the source command.
|
416
491
|
|
417
492
|
2010-11-08 rvm <rocky@gnu.org>
|
418
493
|
|
419
494
|
* processor/command/finish.rb, processor/command/list.rb: list.rb:
|
420
|
-
make it I hope more rational.
|
495
|
+
make it I hope more rational. finish.rb: some cut-and-past typos.
|
421
496
|
|
422
497
|
2010-11-07 rvm <rocky@gnu.org>
|
423
498
|
|
@@ -427,8 +502,13 @@
|
|
427
502
|
|
428
503
|
2010-11-07 rvm <rocky@gnu.org>
|
429
504
|
|
430
|
-
|
431
|
-
|
505
|
+
Merge branch 'master' of github.com:rocky/rbx-trepanning
|
506
|
+
|
507
|
+
2010-11-07 rvm <rocky@gnu.org>
|
508
|
+
|
509
|
+
* app/run.rb, app/util.rb, lib/trepanning.rb: Pick up $0 from
|
510
|
+
Rubinius::Location#script when we are called via -Xdebug since it
|
511
|
+
hasn't been defined before.
|
432
512
|
|
433
513
|
2010-11-06 rocky <rockyb@rubyforge.org>
|
434
514
|
|
@@ -454,8 +534,8 @@
|
|
454
534
|
processor/command/nexti.rb, processor/stepping.rb,
|
455
535
|
test/functional/test-finish.rb, test/functional/test-next.rb: Allow
|
456
536
|
breakpoints to be scoped. Fixes bugs in handling recursive "next"
|
457
|
-
and "finish".
|
458
|
-
|
537
|
+
and "finish". Based on Rubinius commit # 3a1c111. See issue Rubinius
|
538
|
+
issue #558
|
459
539
|
|
460
540
|
2010-11-06 rocky <rockyb@rubyforge.org>
|
461
541
|
|
@@ -510,7 +590,7 @@
|
|
510
590
|
processor/command/show_subcmd/max_subcmd/string.rb,
|
511
591
|
processor/command/show_subcmd/max_subcmd/width.rb,
|
512
592
|
processor/default.rb, processor/frame.rb, processor/validate.rb:
|
513
|
-
Replace "set debug stack" with more general "set hidelevel".
|
593
|
+
Replace "set debug stack" with more general "set hidelevel". Fix up
|
514
594
|
some standalone code running. Use SubSubcommand where appropriate.
|
515
595
|
|
516
596
|
2010-11-04 rvm <rocky@gnu.org>
|
@@ -546,13 +626,13 @@
|
|
546
626
|
test/functional/test-next.rb: Fix bug in breakpoint numbering. Fix
|
547
627
|
bug in restart when running bin/trepan breakpoint allows forms
|
548
628
|
nothing (current line) line as well as previous forms.
|
549
|
-
app/brkptmgr.rb: max should start off 0.
|
550
|
-
|
551
|
-
|
552
|
-
in lib/trepanning merge dbussink's fix in rbx-head to
|
553
|
-
debugger command/disassemble.rb: had tropped off section
|
554
|
-
"all" processor/validate.rb: common routine to parse a
|
555
|
-
position.
|
629
|
+
app/brkptmgr.rb: max should start off 0. app/method.rb: routines for
|
630
|
+
working with compiled methods app/run.rb: use dbgr passed in. Don't
|
631
|
+
smash restart_args, via set_restart, allow opts to be
|
632
|
+
passed in lib/trepanning merge dbussink's fix in rbx-head to
|
633
|
+
reference debugger command/disassemble.rb: had tropped off section
|
634
|
+
header for "all" processor/validate.rb: common routine to parse a
|
635
|
+
breakpoint position.
|
556
636
|
|
557
637
|
2010-10-19 rvm <rocky@gnu.org>
|
558
638
|
|
@@ -576,7 +656,7 @@
|
|
576
656
|
|
577
657
|
* test/functional/.gitignore, test/functional/fn_helper.rb,
|
578
658
|
test/functional/test-fn_helper.rb: Baby steps toward adding
|
579
|
-
functional test: test the test helper.
|
659
|
+
functional test: test the test helper. Some RDoc appeasements.
|
580
660
|
|
581
661
|
2010-10-19 rocky <rockyb@rubyforge.org>
|
582
662
|
|
@@ -584,8 +664,8 @@
|
|
584
664
|
processor/command/finish.rb, processor/running.rb,
|
585
665
|
processor/stepping.rb: Add finish (step out) command.
|
586
666
|
app/breakpoint.rb: generalize paired breakpoints to more than two
|
587
|
-
which is needed for finish.
|
588
|
-
|
667
|
+
which is needed for finish. processor/breakpoint.rb: fix bugs caused
|
668
|
+
by refactoring
|
589
669
|
|
590
670
|
2010-10-18 rvm <rocky@gnu.org>
|
591
671
|
|
@@ -606,7 +686,7 @@
|
|
606
686
|
* app/run.rb, lib/trepanning.rb, processor/command/disassemble.rb,
|
607
687
|
processor/frame.rb, processor/main.rb, processor/running.rb,
|
608
688
|
processor/stepping.rb: Hide level only if it makes sense. Start work
|
609
|
-
on finish. (Not complete).
|
689
|
+
on finish. (Not complete). Fix But in stepping test.
|
610
690
|
|
611
691
|
2010-10-17 rvm <rocky@gnu.org>
|
612
692
|
|
@@ -639,10 +719,25 @@
|
|
639
719
|
processor/command/pr.rb, processor/command/show.rb: DRY code with
|
640
720
|
respect to Mock setup. less hard-coding of command names via #{NAME}
|
641
721
|
|
722
|
+
|
723
|
+
2010-10-16 rvm <rocky@gnu.org>
|
724
|
+
|
725
|
+
Merge branch 'master' of github.com:rocky/rbx-trepanning
|
726
|
+
|
642
727
|
2010-10-16 rvm <rocky@gnu.org>
|
643
728
|
|
644
|
-
*
|
645
|
-
|
729
|
+
* processor/command/alias.rb, processor/command/backtrace.rb,
|
730
|
+
processor/command/base/cmd.rb, processor/command/continue.rb,
|
731
|
+
processor/command/directory.rb, processor/command/down.rb,
|
732
|
+
processor/command/eval.rb, processor/command/exit.rb,
|
733
|
+
processor/command/frame.rb, processor/command/help.rb,
|
734
|
+
processor/command/info.rb, processor/command/irb.rb,
|
735
|
+
processor/command/kill.rb, processor/command/list.rb,
|
736
|
+
processor/command/next.rb, processor/command/ps.rb,
|
737
|
+
processor/command/restart.rb, processor/command/set.rb,
|
738
|
+
processor/command/show.rb, processor/command/source.rb,
|
739
|
+
processor/command/unalias.rb, processor/command/up.rb: Add
|
740
|
+
Trepan::Command#name and dry code with it.
|
646
741
|
|
647
742
|
2010-10-14 rocky <rockyb@rubyforge.org>
|
648
743
|
|
@@ -655,8 +750,8 @@
|
|
655
750
|
processor/command/show_subcmd/debug_subcmd/dbgr.rb,
|
656
751
|
processor/command/step.rb, processor/main.rb, processor/running.rb,
|
657
752
|
test/unit/test-base-subcmd.rb: running.rb, step.rb: More work trying
|
658
|
-
to put into a normal command loop.
|
659
|
-
|
753
|
+
to put into a normal command loop. Add "set debug dbgr". Add test of
|
754
|
+
base commands.
|
660
755
|
|
661
756
|
2010-10-14 rvm <rocky@gnu.org>
|
662
757
|
|
@@ -754,7 +849,7 @@
|
|
754
849
|
2010-10-08 rocky <rockyb@rubyforge.org>
|
755
850
|
|
756
851
|
* processor/command/info_subcmd/breakpoints.rb,
|
757
|
-
test/unit/test-cmd-exit.rb: Add unit test for exit.
|
852
|
+
test/unit/test-cmd-exit.rb: Add unit test for exit. Add help for
|
758
853
|
"info breakpoints". Copied from rb-trepanning - Not quite accurate
|
759
854
|
yet.
|
760
855
|
|
@@ -782,9 +877,9 @@
|
|
782
877
|
processor/command/info_subcmd/breakpoints.rb,
|
783
878
|
processor/command/tbreak.rb, test/unit/test-app-brkptmgr.rb: More
|
784
879
|
better tests of breakpoint manager. There is some breakage remaining
|
785
|
-
though.
|
786
|
-
|
787
|
-
|
880
|
+
though. info_subcmd/breakpoints.rb: work on this. Again there's some
|
881
|
+
breakage from the bp manager merge Rakefile: add task check:app.
|
882
|
+
Correct check:command.
|
788
883
|
|
789
884
|
2010-10-07 rocky <rockyb@rubyforge.org>
|
790
885
|
|
@@ -797,7 +892,7 @@
|
|
797
892
|
processor/command/next.rb, processor/command/nexti.rb,
|
798
893
|
processor/location.rb, processor/main.rb: lib/trepanning.rb,
|
799
894
|
nexti.rb, next.rb: make event names match rb-trepanning. Use string
|
800
|
-
not symbol.
|
895
|
+
not symbol. location.rb: Reinstate print_location.
|
801
896
|
|
802
897
|
2010-10-07 rocky <rockyb@rubyforge.org>
|
803
898
|
|
@@ -819,7 +914,7 @@
|
|
819
914
|
|
820
915
|
* app/breakpoint.rb, lib/trepanning.rb, test/unit/test-app-brkpt.rb:
|
821
916
|
breakpoint.rb: respect setting id value when passed. Add some demo
|
822
|
-
code.
|
917
|
+
code. Add unit test for app/breakpoint.rb
|
823
918
|
|
824
919
|
2010-10-04 rocky <rockyb@rubyforge.org>
|
825
920
|
|
@@ -954,8 +1049,9 @@
|
|
954
1049
|
|
955
1050
|
* .gemspec, AUTHORS, Rakefile, THANKS, app/options.rb, app/run.rb,
|
956
1051
|
bin/.gitignore, bin/trepan, processor/command/break.rb: Add code to
|
957
|
-
invoke from outset. Complete with debugger options.
|
958
|
-
improvement to skip over the crap before main.__script__ starts.
|
1052
|
+
invoke from outset. Complete with debugger options. Needs
|
1053
|
+
improvement to skip over the crap before main.__script__ starts.
|
1054
|
+
Numerous other small changes.
|
959
1055
|
|
960
1056
|
2010-09-25 rocky <rockyb@rubyforge.org>
|
961
1057
|
|
@@ -1000,11 +1096,12 @@
|
|
1000
1096
|
processor/command/delete.rb, processor/command/source.rb,
|
1001
1097
|
processor/frame.rb, processor/main.rb, test/unit/cmd-helper.rb,
|
1002
1098
|
test/unit/test-unit-exit.rb: debugger.rb : remove show_ip option.
|
1003
|
-
|
1099
|
+
Goes in processor. bang on breakpoint code. move some to
|
1004
1100
|
processor/breakpoint.rb processor/breakpoint.rb: more error checking
|
1005
|
-
info
|
1006
|
-
|
1007
|
-
|
1101
|
+
info app/frame.rb: describe() pass in options - add show IP
|
1102
|
+
parameter. remove duplicate ip location
|
1103
|
+
app/breakpoint.rb: change IP location indicator from + to @. Is this
|
1104
|
+
right? base/cmd.rb: run_code() was wrong. Other misc bugs fixed.
|
1008
1105
|
|
1009
1106
|
2010-09-24 rocky <rockyb@rubyforge.org>
|
1010
1107
|
|
@@ -1038,7 +1135,7 @@
|
|
1038
1135
|
processor/command/show_subcmd/max_subcmd/width.rb,
|
1039
1136
|
processor/default.rb, processor/eval.rb, processor/main.rb: Add max
|
1040
1137
|
set/show subcommands "info program" processor eval now sets filename
|
1041
|
-
and we now store breakpoint ids.
|
1138
|
+
and we now store breakpoint ids. prompt is more inline with other
|
1042
1139
|
debuggers :-(
|
1043
1140
|
|
1044
1141
|
2010-09-23 rocky <rockyb@rubyforge.org>
|
@@ -1073,7 +1170,7 @@
|
|
1073
1170
|
processor/command/set_subcmd/different.rb,
|
1074
1171
|
processor/command/show_subcmd/different.rb, processor/default.rb,
|
1075
1172
|
processor/mock.rb, processor/subcmd.rb: Finish up last of commands
|
1076
|
-
to be converted from reference debugger.
|
1173
|
+
to be converted from reference debugger. Add some of routines from
|
1077
1174
|
trepan for 1.9.2.
|
1078
1175
|
|
1079
1176
|
2010-09-23 rocky <rockyb@rubyforge.org>
|
@@ -1185,8 +1282,8 @@
|
|
1185
1282
|
processor/mock.rb, test/unit/.gitignore, test/unit/cmd-helper.rb,
|
1186
1283
|
test/unit/test-cmd-help.rb, test/unit/test-cmd-kill.rb,
|
1187
1284
|
test/unit/test-io-input.rb, test/unit/test-proc-load_cmds.rb: Get
|
1188
|
-
command loading boilerplate. Help is there now. Interface added.
|
1189
|
-
|
1285
|
+
command loading boilerplate. Help is there now. Interface added. And
|
1286
|
+
even some of the unit tests!
|
1190
1287
|
|
1191
1288
|
2010-09-21 rocky <rockyb@rubyforge.org>
|
1192
1289
|
|
@@ -1207,7 +1304,7 @@
|
|
1207
1304
|
debugger/command/set.rb, debugger/command/show.rb,
|
1208
1305
|
debugger/command/step.rb, debugger/command/tb.rb,
|
1209
1306
|
debugger/commands.rb, debugger/display.rb, debugger/frame.rb: Put
|
1210
|
-
all commands in the 'command' directory.
|
1307
|
+
all commands in the 'command' directory. Add temporary hack to keep
|
1211
1308
|
Command.command singleton array from growing on running each
|
1212
1309
|
debugger command.
|
1213
1310
|
|
data/NEWS
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
Feb 1, 2011 (0.0.4)
|
2
|
+
- Add Remote debugging interface. Add options --server --port
|
3
|
+
- Add Syntax highlighting on Ruby and Rubinus LLVM listings and locations
|
4
|
+
- Section highlighting on some commands; italics on error if term mode
|
5
|
+
- Use ;; to allow multiple debugger commands. Document debugger command syntax
|
6
|
+
- Numerous bug fixes and code cleanups
|
7
|
+
|
1
8
|
Jan 1, 2011 (0.0.3)
|
2
9
|
- Add finish+
|
3
10
|
- Add "step into" "step over" and "step out" as alternates
|
data/Rakefile
CHANGED
@@ -142,7 +142,7 @@ end
|
|
142
142
|
desc "Generate rdoc documentation"
|
143
143
|
Rake::RDocTask.new("rdoc") do |rdoc|
|
144
144
|
rdoc.rdoc_dir = 'doc'
|
145
|
-
rdoc.title = "rbx-trepaning #{
|
145
|
+
rdoc.title = "rbx-trepaning #{Trepan::VERSION} Documentation"
|
146
146
|
|
147
147
|
rdoc.rdoc_files.include(%w(lib/trepanning.rb processor/*.rb
|
148
148
|
processor/command/*.rb
|
data/app/breakpoint.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
# Copyright (C) 2011 Rocky Bernstein <rockyb@rubyforge.net>
|
2
|
+
class Trepan
|
2
3
|
class Breakpoint
|
3
4
|
|
4
5
|
attr_accessor :condition # If non-nil, this is a String to be eval'd
|
@@ -211,7 +212,7 @@ end
|
|
211
212
|
|
212
213
|
if __FILE__ == $0
|
213
214
|
method = Rubinius::CompiledMethod.of_sender
|
214
|
-
bp =
|
215
|
+
bp = Trepan::Breakpoint.new '<start>', method, 1, 2, 0
|
215
216
|
%w(describe location icon_char hits temp? enabled? condition).each do |field|
|
216
217
|
puts "#{field}: #{bp.send(field.to_sym)}"
|
217
218
|
end
|