> The problem with the "fix" and the whole change set is that the
>  fields{1].in_value variable is not assigned any return value until after
> jtag_execute_queue(), and that is long after we exit this function and temp
> is out of scope.

Did you look at jtag_add_dr_scan_now()  implemenation?

It calls jtag_execute_queue_noclear(), so we *can* use stack variables
here for in_value.

?



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

Reply via email to