This is disturbing. Why switch to global variables?

+static uint32_t data_read_dummy;
 static int jtag_data_write(struct target * target, uint32_t instr,int
num_bits, uint32_t * data_read){
   int retval;
-  uint32_t data_read_dummy;

Seperate patch? Does this have anything to do with fixing warnings?

-      counter = FLUSH_COUNT_FLASH;
+      counter = FLUSH_COUNT_READ_WRITE;

> do you have any clue about what i'm doing wrong?

What warnings you get depend on what compiler you're using.

try

CFLAGS="-O3 -g" configure xxxxxx


-- 
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to