svf: try to reallocate buffers if they're not enough99/2099/2
authorPaul Fertser <fercerpav@gmail.com>
Wed, 9 Apr 2014 05:58:07 +0000 (09:58 +0400)
committerPaul Fertser <fercerpav@gmail.com>
Mon, 14 Apr 2014 18:21:11 +0000 (18:21 +0000)
commit11a1080c00ccf0335a2ccf1a25f5a51cce75b641
treee647b214b59d1286da7a92eae5ee609a2eec9f3d
parent3427cf2b7e33240fc63c6398090dc7bcbf4f2d52
svf: try to reallocate buffers if they're not enough

On larger FPGAs the default buffer size is not nearly enough;
automatically reallocate it as needed.

Change-Id: Ic8071e8cceddeef897ce76996c029250fd22662b
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2099
Tested-by: jenkins
Reviewed-by: Kenneth Lorthioir <ibelimb@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/svf/svf.c