Considering the huge number of identical "if (retval != ERROR_OK) return retval;" added in this and your other patches, maybe we should reuse the CHECK_RETVAL macro from arm11.h as a general mechanism to reduce the clutter? It may not be the best of practices to return from a macro, but rules are made to be broken, right?
-- Andreas _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development