On Tuesday 26 January 2010, Nicolas Pitre wrote: > > > Also I don't like the fact that the introduced arm_semi_hosting structure > > > (which could have been done in a patch of its own btw) is carrying fields > > > that are valid only for one particular instance of a semihosting call and > > > therefore should have been kept local to the implementation rather than > > > growing the arm structure uselessly. Those are "result" and "core_cache". > > > I think that getting r0 and r1 should be abstracted out of > > > do_semihosting() > > > and passed directly by both callers instead, etc. > > > > > > > it is wip, and so can be cleaned up quite a bit. > > Sure, hence my comments. But David apparently has a better solution in > mind.
I'll post a preview of that in a moment. The model being to remove needless differences between "normal" ARMs and the microcontroller profile chips. - Dave _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
