>> 2) It looked like lots of error handling was removed rather than added > I only removed target memory write error handling. IMHO, checking > target's memory function (like target->type->write_memory) is too excessive. > All the mflash IO error checked by this patch.
Actually we want all return codes propagated as a rule. This is in line with exception handling. Minimally this will be useful in test suites to check for induced failures. To *ignore* a return value is on par with a "catch" in exception handling and there should be something in the code that explains how the error is handled after it is "caught". -- Øyvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
