gdb crash in eclipse

Guest #1171288
Rate this post
• ▲ 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
Guest #1171289
Rate this post
• ▲ 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
Guest #1171290
Rate this post
• ▲ 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
Guest #1171291
Rate this post
• ▲ 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

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.