James Zhao wrote:
> After learning about the fact the that we can execute command after
> connection, I agree the patch was not necessary.

The patch per se not, but I agree with the intent of improving sync
between gdb and OpenOCD.


> The problem I am encountering now is that I can not establish a
> connection using gdb to the device when it is not halted,

This is clearly an OpenOCD bug, since OpenOCD is even out of sync
with itself.


> The gdb connection get dropped immediately upon connection is
> because OpenOCD trying to fetch register list while device is
> running, which right now I am not sure if that is suppose to
> happen.

Can you find which commit introduced this behavior? git bisect helps.

Also, what target are you working with?


> It seems to me to fetch the register values the device should be
> halted first,

Right, but maybe fetching register values is incorrect.


//Peter

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to