Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Re:Re: Using CDT as avr-gdb frontent for AVR target platforms

Thanks for your answers,

I will have a look at the way that Øyvind Harboe used to deal with his arm
target during the next days. (I expect to need to spend some time on more
*basic* problems in order to understand more clearly the mechanism of how
CDT launches the debugger. I so far have avoided to look at the CDT
sources.)

In order to understand more clearly please allow me to ask three additional
(possibly stupid) questions:

1.) Concerning MI interface: I understood that in case that you take the gdb
sources from the gnu site and compile them for your target platform, you can
assume that the MI interface support already is included.? At least I
understood that Øyvind Harboe's arm-gdb already had MI-support. Is this
correct? (I would like to make sure that on my GDB and JTAG-Tool side all
the requirements are met before starting to deal with CDT internals).

2.) Concerning the patches of Øyvind Harboe: I understood that your patch
basically gives the user the possibility to use the gdb command line in
order to use its flexibility to issue instructions that usually are not
necessary. I.e. commands that are not required unless you are dealing with
remote target systems or other non-standard debugging tasks. Did I
understand correctly ?

3.) For debugging purposes: Is there an easy way to find out what CDT does
when it is trying to establish the connection to the debugger? E.g. is it
possible to find out which other tools are launched and what kind of
communication CDT is having with them?


Yours,

Björn Haase

P.S.:
Concerning the more *philosophical* questions concerning the requirements
for the power and flexibility of the CDT debugging interface: My personal
impression is that a "simple" solution supporting most of the GDB
capabilities and a single-processor target will probably meet the
requirements of the vast majority of possible users.

-----Ursprüngliche Nachricht-----
Von: alain@xxxxxxx [mailto:alain@xxxxxxx]
Gesendet: Mittwoch, 19. Mai 2004 21:41
An: cdt-debug-dev@xxxxxxxxxxx
Cc: Bjoern.M.Haase@xxxxxx
Betreff: Re: [cdt-debug-dev] Re: Using CDT as avr-gdb frontent for AVR
target platforms


>
> >   4.) Does anybody now of somebody who has tried (or better: succeeded)
=
> > to use CDT for AVR targets?
>
> Not AVR targets, but I've used them against arm-elf targets.
>
> I've posted two patches, which should allow you to debug the AVR target
> easily.
>
> http://dev.eclipse.org/mhonarc/lists/cdt-patch/msg02306.html

This one will break things.  Needs more evaluation.

> http://dev.eclipse.org/mhonarc/lists/cdt-patch/msg02298.html
>

This is still subject to heavy debate on this side of the pound.
About the "right" way to handle all of those targets cleanly
whithout bloating the CDT.  The first approach, provide your
launch and entry point seems to be to much for the casual
users "who just want to run gdb on there XXX cpu".




Back to the top