EmbDev.net

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


von Jörg (Guest)


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

von Michael (Guest)


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

von Jörg (Guest)


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

von Michael (Guest)


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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.