[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-debug-dev] Adapting CDT-debugging to AVR-elf targets: Build problem using CVS sources
|
Hello,
with your help (best thanks!) I now have (slowly) advanced with my attempts
to adapt eclipse to deal with embedded AVR targets:
I now have come to the conclusion that the eclipse CDT debugging interface
*should* be easily able to deal with AVR targets as well - provided that the
avr-gdb is launched properly. The MI interface indeed seems to be part of
all the new gdb releases. I think, eclipse should be functional with *all*
possible embedded targets supported by gcc, given that you have a working
gdb implementation.
The adaptions that will most certainly make it possible to use CDT with AVR
targets probably are very minor:
1) In order to specify the location and port of the remote GDB server, it
would be necessary to give the user the possibility to specify the initial
gdb commands so that he can replace the usual "run" by somthing a bit more
complex like "target localhost:3141 , load, run"
2) It will be helpful to provide a means for excecuting a command-line tool
once when starting and finishing a debug session. For AVR targets it is
neccessary to start a gdb-server process that gdb can connect to and that
establishes the link to the emulator hardware. Giving the user the
possibility to specify a shell command for starting and killing the gdb
server process will do the job. (This however, could in a first step been
done by a tool external to eclipse.)
3) It also would be helpful to provide a means for the user to explicitly
execute the gdb command "load" during a debug session.
I was just about trying to implement these things. As a starting point I
wanted to use Øyvind Harboe's modifications that already should be a 80%
solution of my personal needs.
Unfortunately, I now again got stuck when trying to build CDT using the
sources retreived from the devel.eclipse.org CVS server. I thought that I
imported all required plugins and fragments. It, however, seems that a
couple of unresolved references remain. So there is my new question:
Is there a kind of guide document describing how to build CDT from
sources -- e.g. stating which kind of plugins are required for building
org.eclipse.cdt.debug* ?
Yours,
Björn