AnsweredAssumed Answered

Debugging with GDB and Eclipse? expat problem?

Question asked by Andreas Zeiler on Jun 27, 2014
Latest reply on Apr 27, 2017 by chris_f

Hi,

 

I'm trying to setup a IDE to run and debug an application with Eclipse and the cross-compiler for iMX6 from freescale. (Debugger Version is 7.1).

I am able to cross compile my application and also run it on my target board. It is also working through a ssh terminal.

But I could't figure out how to debug my application. I've configured my buildroot to build gdb and gdbserver and copy it into my rootfs.

Over ssh terminal I can start my application and also when I start debugging eclipse starts the gdbserver with the specified port.

But the I get a Error Message:

 

Error in final launch sequence

Failed to execute MI command:

-break-insert -t -f main

Error message from debugger back end:

Remote 'g' packet reply is too long: 0000000028feff7e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020fdff7e00000000a0b7aa2a100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Remote 'g' packet reply is too long: 0000000028feff7e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020fdff7e00000000a0b7aa2a100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

 

In the eclipse console I get the error message:

warning: Can not parse XML target description; XML support was disabled at compile time

warning: Can not parse XML OS data; XML support was disabled at compile time

The target endianness is set automatically (currently little endian)

 

Can someone help me with this? I don't know whats wrong here and I also don't find any hint in google how to solve this.

I also tried to use my buildroot's toolchain and the freescale toolchain. (The are same version).

 

Andi

Outcomes