A test build (cygwin, as it happened) after your latest commits gives me:

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -g -O2 -Wall 
-Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter 
-Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -MT 
arm_semihosting.lo -MD -MP -MF .deps/arm_semihosting.Tpo -c arm_semihosting.c 
-o arm_semihosting.o
cc1: warnings being treated as errors
arm_semihosting.c: In function ‘do_semihosting’:
arm_semihosting.c:71: error: ‘spsr’ may be used uninitialized in this function
arm_semihosting.c:71: error: ‘lr’ may be used uninitialized in this function
make[5]: *** [arm_semihosting.lo] Error 1

Didn't track it down.  CM3 has no SPSR of course.  And I'm not
clear on why access to LR should care about specifying some mode
explicitly ... instead of just using the currnt LR.

- Dave
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to