On Tue, May 3, 2011 at 4:18 PM, Mathias K. <kes...@freenet.de> wrote:
> I think gdb will get the register list and then, maybe depending on used 
> debug application, all
> register values.
>
This is true for recent GDB versions. Unfortunately, we are still
using an old version, 6.6, which uses packet 'p' to read single
register if it's supported by the gdb stub program.

> But we should remember that some/all functions in the current implementation, 
> that need a target
> register to work, simple doesn't check if a register already stored or not. 
> They only check if a
> target is halted or not.
>
If target independent code doesn't check, I can help adding check to them.


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

Reply via email to