|
From: Duane E. <op...@du...> - 2008-09-12 03:52:53
|
Attached is the tcl reset patch.
Apply it to HEAD.
Unlike my previous patch, where the "reset code" was a separate file -
it is now integrated into "startup.tcl".
The switch has been done. This defaults to the new TCL reset method.
You should - see no difference. If there is, please tell me.
IF for any reason you have a problem with the new reset code. I really
doubt you will.
type the following command:
(gdb) mon NEWreset 1
reset method: 1 (old-method)
The above 'reverts' to the old method. (the default it to use the new
method)
(this funny looking command will go away real soon)
(gdb) mon NEWreset 0
reset method: 0 (new-method)
To switch back to the new method, type the above:.
If you want to define your own reset sequence, create a TCL proc called
"ocd_process_reset"
You can use the example in "startup.tcl" as your guide.
If you find a need for another "jim" command to make things easier -
please let me know.
I've got *ALOT* of infrastructure in place that makes creating new TCL
commands extremely easy.
That was - a major part of the early work. The other delays where caused
by a few *great* weekends on a big sailboat :-)
-Duane.
|