Hello,

Duane Ellis napsal(a):
> Øyvind> The GDB "mon" is just the channel/transport.
> That however is an exclusive and private to GDB and GDB alone. That is 
> problematic.
> Stated more generally - it is exclusive to the active debugger on the 
> GDB connection.
> Nothing else can access the target via MON.

I am using GDB protocol to communicate with OpenOCD from flash programming GUI
- not a perfect solution, but it works.

> All that I am suggesting is a more 'programmatic defined protocol' 
> specific to the tcl_server interface - nothing more.

It is absolutely true that using GDB mon is not
much suitable for real scripting from external application, e.g. it lacks
passing a machine readable error code to the caller.

Personally I am not against such extension, but it shall be a simple
submit/result protocol, nothing complicated.

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

Reply via email to