Øyvind Harboe wrote: >> 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. > >
Yes, not my favourite modification, and we do NOT want to call jtag_execute_queue for every value we vant to read, that will kill performance. _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development