OK, I've spent a couple hours since that last email trying to build openOCD. Soon as I go through one of these errors, another pops up. Anyone have any insight on this one? I'm not sure what mode does.
arm_simulator.c: In function 'arm_simulate_step_core': arm_simulator.c:669:18: error: variable 'mode' set but not used [-Werror=unused-but-set-variable] arm_simulator.c:725:18: error: variable 'mode' set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors in arm_simulator.c, line 725 follows: enum arm_mode mode = sim->get_mode(sim); for (i = 0; i < 16; i++) { if (instruction.info.load_store_multiple.register_list & (1 << i)) bits_set++; } if (instruction.info.load_store_multiple.S) { mode = ARM_MODE_USR; } On Wed, May 4, 2011 at 1:22 AM, Øyvind Harboe <oyvind.har...@zylin.com>wrote: > > I don't understand the error, since it looks like struct watchpoint ** > > watchpoint_p is being used in the while loop. > > Check the code again: watchpoint_p is not used, the compiler > is right. > > Patch gladly accepted! :-) > > -- > Ø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/zy1000.html > ARM7 ARM9 ARM11 XScale Cortex > JTAG debugger and flash programmer >
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development