On Thu, 2 Apr 2009 18:22:33 +0800
"SimonQian" <simonq...@simonqian.com> wrote:

> Hi,
> Attached patch fixs:
> 1. call buf_cmp_mask to compare buffer with mask.
> 2. remove long lines according to GNU coding standard.
> 
> NOTE: The patch is untested, I don't have XC9572XL to test on.
> And I'll prepare a patch for vsllink code according to GNU coding standard.
> 

Hi,

The patch make segmentation fault because buf_cmp_mas expect a pointer
(*u8).

svf.c: 669 > if ((svf_check_tdo_para[i].enabled)
        && (buf_cmp_mask(svf_tdi_buffer[index], svf_tdo_buffer[index],
                svf_mask_buffer[index], len)))

I cut off [index], then it work with -d3 option, but not without. Is
index a byte-position in buffers? Why svf_check_tdo need
values svf_check_tdo_para_index and index? 

regards

Johann
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to