On Thu, Sep 17, 2009 at 12:51 PM, David Brownell <[email protected]> wrote:
> On Wednesday 16 September 2009, Øyvind Harboe wrote:
>> >
>> > A change that could be useful is adding a way to see that config
>> > data in TCL.  Maybe just having the no-params "reset_config" call
>> > return the currently-applicable strings.  (Not display; return,
>> > so TCL scripts can use those values.)
>>
>> What I'd like to see is reset_config split into two:
>>
>> - one tcl proc that implements the reset_config scheme to manipulate
>> the existing state(reset_config as-is)
>
> You mean re-package the state and replace the command
> code (written in C) with a Tcl proc?

Yes. The advantage of this approach is that target/board scripts
can *choose* whether or not they want to use the "modify current
reset_config state" functionality.




-- 
Øyvind Harboe
Embedded software and hardware consulting services
http://www.zylin.com
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to