On 11 January 2012 12:50, Reinhard Biegel <r.bie...@gmx.at> wrote:
> Hi!
>
> I'm running openocd (svn) with a J-Link EDU interface to program and debug a
> STM32Lxxx. When connecting gdb to the openocd gdbserver I receive:
> "Remote 'g' packet reply is too long: ....."
>
> Found that post on stackoverflow, where the author suggests a solution:
> http://stackoverflow.com/questions/7053067/arm-none-eabi-gdb-and-openocd-
> malformed-response-to-offset-query-qoffsets/7661508#7661508
>
> Tried it too and it seems to do it - gdb can connect now. So openocd should
> somehow check the version of the connected gdb to send the right registers I
> think.
>
> I'm using gdb 7.3.1 (arm-none-eabi)
>

This has been an issue for some time.
It also depends on whether you are using mainline gdb or one from codesourcery.

I have not looked into it for a while, may find some time to try and
sort out once and for all :)
https://sourceforge.net/apps/trac/openocd/ticket/42

Spen

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to