Hi Øyvind,

> Of course resources tracking in C++ and exception handling comes to
> mind as a much more robust solution to such problems. I'm not
> arguing for using C++, I'm just saying that ....

That's exactly what i thought when i see all the
malloc's in OpenOcd. I think, that there are still
a lot of memory leaks there. Are there any plans too switch
over to C++? There could be some great base classes
with virtual functions for the drivers and all this
allocation stuff could be handled in classes.


Best Regards,



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

Reply via email to