On Fri, Aug 8, 2008 at 9:21 AM, David Kuehling <[EMAIL PROTECTED]> wrote:
>>>>>> "Øyvind" == Øyvind Harboe <[EMAIL PROTECTED]> writes:
>
>> Committed.
>>> Most of the 'target_script' functionality seems to be unavailable in
>>> SVN head. The only target script that is actually called in the
>>> sources is 'pre_resume'. Neither 'post_halt' nor 'reset' seem
>>> supported.
>
>> Please explain?
>
> find -iname "*.c" | xargs grep target_invoke_script
>
> doesn't find any invokations of the 'poist_halt' or 'reset' scripts. Or
> did I overlook something?
from target.c:
int target_process_reset(struct command_context_s *cmd_ctx, enum
target_reset_mode reset_mode)
{
int retval = ERROR_OK;
target_t *target;
target = targets;
while (target)
{
target_invoke_script(cmd_ctx, target, "pre_reset");
target = target->next;
}
>
>> post/pre_reset are used. See target/lpc2148.cfg as an example
>
> Maybe configured, but AFAICS never called :(
halt/resume events are not yet defined.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development