Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] arm-elf-gcc simulator debugging works with Eclipse

Starting with http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg01403.html,
I was able to get the GCC ARM simulator to work.

Neat!

The only trick was that "info threads" causes GDB to crash 
before the app is up and running.


After some frustrating hours, I figured out a workaround on 
gdb.ini as follows:


target sim
#info threads crashes GDB
load
break main
run
#info threads no longer crashes GDB


The workaround is described at the end of this bug-report:

http://bugs.eclipse.org/bugs/show_bug.cgi?id=37038



- I've also fired off a bug-report to the GCC guys
- I got GCJ compiled code up and running in the Eclipse debugger as well.


Øyvind Harboe


 


Back to the top