Hi Øyvind,

Please explain/specify what is being retired.

When the target reset configuration is specified, there are options: 
"reset_halt", "reset_init", "reset_run", "run_and_halt", "run_and_init" For 
example:

target arm7tdmi little run_and_init 0

The reset command has the following options:

reset ['run'|'halt'|'init'|'run_and_halt' |'run_and_init']

It is said in the documentation that the "optional parameter overrides the 
setting specified in the configuration file".

Do you propose that the target reset configuration is *always* overridden with 
"reset init"? Why?

Best regards,
Pieter Conradie


-----Original Message-----
From: Øyvind Harboe [mailto:[EMAIL PROTECTED]
Sent: 17 July 2008 03:00 PM
To: Openocd-Dev
Subject: [Openocd-development] Retire reset_mode option to target

Any objections?

The attached patch enforces "reset init" as the behaviour for "reset"
(no args) always.

This helps reduce confusion.

A warning is logged if the deprecated syntax is used. The option
old reset_mode option is simply ignored.

--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
Notice
This email is intended for the addressee only and may contain legally 
privileged and/or confidential information.  If you have received this email in 
error and are not the intended recipient, you are hereby informed that you are 
not entitled to read, broadcast, distribute or in any manner whatsoever use the 
contents of this email or any attachments thereto.  You are requested to please 
notify Psitek that you have received the email and then delete it.  Unless 
clearly stated otherwise, the content and sentiments expressed in this email or 
any attachments thereto are those of the sender and not of Psitek (Proprietary) 
Limited.  Psitek does not accept liability for any damages, loss or expense of 
any nature whatsoever arising (a) out of or in connection with the email or any 
attachments thereto and/or (b) from any act or omission by the recipient 
relying upon the content of the email or attachments.  Psitek further disclaims 
liability for any damages caused by computer and/or software viruses.  Should 
this email contain the terms of a contract, no binding agreement will result 
until such time as a written (hardcopy) document is signed on behalf of Psitek.
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to