On 12/03/12 15:09, Justin Drake wrote: > I am using OpenOCD and DGB to talk with my ARM Cortex 3M chip. When I > load my .elf file onto GDB, the moment I connect to my board (target > remote localhost:3333) I get the error message: > > Remote 'g' packet reply is too long: > 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fc010020ffffffff010000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000001 > > Reading about the issue, I gather it might be a 32bit vs 64bit issue. > How can I fix this?
It is not; it's caused by a change in gdb as to what registers gdb expects on an arm cpu, and what registers openocd reports. If you check the list archives, you will find number of ways to fix/work around this. Tomas > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > OpenOCD-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openocd-devel ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
