Øyvind Harboe wrote:
> Patch attached.
>
> 1. The first "stepi/continue" after a connect will return immediately
> without affecting the state of the target. This allows GDB to sync
> up to the target state. Nice when wanting to attach GDB to
> a running target and deciding using GDB monitor commands how
> to start examining/halting the target.
>
> 2. You can explicitly use the "monitor gdb_sync" command to tell
> OpenOCD to return immediately from the next stepi/continue to
> sync up GDB to the target state.
>
> 3. As before GDB will return garbage register values to allow
> GDB to be in the "halted" state even if the target is running,
> powered down or unresponsive, etc.
>   
I like the idea, but I can't decide if there might be downsides to the 
new behaviour. Can this easily be turned off in case it causes problems?

cu
Michael

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

Reply via email to