EmbDev.net

Forum: ARM programming with GCC/GNU tools gdb crash in eclipse


Author: Jörg (Guest)
Posted on:

Rate this post
0 useful
not useful
Hi,

I got OpenOCD (6.2) running with my STR711, when using
gdb (codesourcery 6.3.5) from the command line.
Eclipse calls gdb with the strange MII ? syntax commands.
The gdb delivered with WinARM seems to be offended by this,
and crashes on the load command.
I tested the version that comes with sarm (from anglia) and it works!
They use cygwin of course :-(
Any experiences with gdb and eclipse around?
Regards,
Jörg

Author: Michael (Guest)
Posted on:

Rate this post
0 useful
not useful
Jörg wrote:
> Hi,
>
> I got OpenOCD (6.2) running with my STR711, when using
> gdb (codesourcery 6.3.5) from the command line.
> Eclipse calls gdb with the strange MII ? syntax commands.
> The gdb delivered with WinARM seems to be offended by this,
> and crashes on the load command.
> I tested the version that comes with sarm (from anglia) and it works!
> They use cygwin of course :-(
> Any experiences with gdb and eclipse around?
> Regards,
> Jörg

Hello Jörg,

I have made the same experience with gdb that was based on MinGW.
No one is working correct if I have a MinGW based compiler. Only the
GNUARM toolchain is working. Take a look here:

http://www.usbdip.de/en/armdev/index.html

and at part 2.

Regards,

Michael

Author: Jörg (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello Michael,

> I have made the same experience with gdb that was based on MinGW.
> No one is working correct if I have a MinGW based compiler. Only the
> GNUARM toolchain is working.

Hm I wonder whats the reason for this.
Do you think it has something to do with MinGW / Cygwin?
GDB and OpenOCD talk with each other over TCP/IP so there should
be no problem.

> Take a look here:
> http://www.usbdip.de/en/armdev/index.html

Yes, I already read your tutorial.
Seems like I got RAM/ROM-Debugging and FLASH programming
running with OpenOCD and Eclipse for STR71X.
Maybe I send you my files so you could have a look at
and put it on your site?
Regards,
Jörg

Author: Michael (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello Jörg,

> Yes, I already read your tutorial.
> Seems like I got RAM/ROM-Debugging and FLASH programming
> running with OpenOCD and Eclipse for STR71X.
> Maybe I send you my files so you could have a look at
> and put it on your site?
> Regards,
> Jörg

In the moment I have no example for debug in ROM, therefore
it is a good idea, if I can get your example.

Regards,

Michael

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.