On Tue, Dec 08, 2015 at 06:30:56PM +0100, Uwe Bonnes wrote:
> >>>>> "Paul" == Paul Fertser <[email protected]> writes:
> 
>     Paul> The problem here is that OpenOCD should play safe by default and
>     Paul> that means that attaching with gdb shouldn't affect a running
>     Paul> target. If a conscious desicion is made by a user, it's just a
>     Paul> matter of adding "$_TARGETNAME configure -event gdb-attach halt"
>     Paul> to the config.
> 
> Is something similar possible on the command line?

Sure, just add this after sourcing the target config:
  -c "$_TARGETNAME configure -event gdb-attach halt"

> 
>     Paul> GDB needs to receive the memory map upon connection so delaying
>     Paul> this is not possible unless GDB changes its protocol.
> 
> Thanks for the explanation?
> 
> Can I ask you to review #3115?

I'll try, sure.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:[email protected]

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to