This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Porting GDB - Where to start?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Cc: James Sampson <i_am_triumph at ofir dot dk>,Andrew Cagney <ac131313 at redhat dot com>,GDB Archive <gdb at sources dot redhat dot com>
- Date: Mon, 2 Dec 2002 09:29:03 -0500
- Subject: Re: Porting GDB - Where to start?
- References: <20021201211835.GA12876@nevyn.them.org> <Pine.SUN.3.91.1021202081514.29205J-100000@is>
On Mon, Dec 02, 2002 at 08:16:17AM +0200, Eli Zaretskii wrote:
>
> On Sun, 1 Dec 2002, Daniel Jacobowitz wrote:
>
> > > In CCS you have the option to use COFF or DWARF. I was planning on using COFF,
> > > because I have noticed some C54x COFF file thingies in the BFD, which could be
> > > usable :-D. Do you know if they are?.
> >
> > If those are the two switches that's pretty bizarre. COFF is a file
> > format, DWARF a debug info format.
>
> Not 100% accurate, AFAIK: there's also COFF debug info format.
>
> > You probably want DWARF (DWARF-2) which implies ELF format files.
>
> DWARF-2 is also supported with COFF binary format. DJGPP uses that
> combination.
Really? How does that work? I recall a number of blatant ELFisms in
dwarf2, both specification and implementation. I suppose that if COFF
has arbitrary named sections, it could work - but I thought only ECOFF
did that.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer