[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] EDC debugger

Adrian,

Do you need to support both a new executable format and a new symbol format?
As you noted, EDC currently support ELF and PE for executables and DWARF for
symbols.

Currently the executable and symbol reading code is getting an overhaul and
there are not yet stable APIs, but a good place to start would be to look at
EDCDwarfReader and IExecutableSymbolicsReader.

The code for symbol and executable reading is in these packages:

org.eclipse.cdt.debug.edc.internal.symbols
org.eclipse.cdt.debug.edc.internal.symbols.dwarf
org.eclipse.cdt.debug.edc.internal.symbols.files
org.eclipse.cdt.debug.edc.internal.symbols.newdwarf

The last package will go away in a few weeks when we switch to the new DWARF
reader.

You could look at these packages:

org.eclipse.cdt.debug.edc.internal.arm
org.eclipse.cdt.debug.edc.internal.disassembler.arm
org.eclipse.cdt.debug.edc.internal.disassembler.x86
org.eclipse.cdt.debug.edc.internal.x86

For an example of what is required for a new target. Currently there is not
explicit support for jtag in EDC, I would expect this would go into the TCF
agent providing memory, register, and run control services for your target.
I'll check around to see if there are any public TCF agent sources that you
could start from.

Regards - Ken

> From: "ext ateuscher@xxxxxxxxxx" <ateuscher@xxxxxxxxxx>
> Reply-To: "ateuscher@xxxxxxxxxx" <ateuscher@xxxxxxxxxx>, "CDT General
> developers list." <cdt-dev@xxxxxxxxxxx>
> Date: Thu, 11 Feb 2010 10:21:05 +0100
> To: "cdt-dev@xxxxxxxxxxx" <cdt-dev@xxxxxxxxxxx>
> Subject: [cdt-dev] EDC debugger
> 
> Hi all,
> 
> I try to add debugging support to CDT for a microcontroller with a proprietary
> file format. After study the
> several possibilities, i think the easiest way is to do it on top of EDC.
> Now my questions:
> What i have to do to support a new file format? The current implementation has
> only support for DWARF (end PE).
> What else i have to implement for the new target?
> Is there any example e.g. jtag support vor EDC?
> 
> thanks in advance
> Adrian
> 
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev