On Tuesday 26 January 2010, Nicolas Pitre wrote:
> 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". 

As I commented elsewhere, my approach was going to be making the
v7-M code use the standard ARM base "class".  That would cover both
of those issues, and help reduce needless divergence in user model...


> I think that getting r0 and r1 should be  
> abstracted out of do_semihosting() and passed directly by both callers 
> instead, etc.

It would cover that too.

- Dave


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to