This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Porting GDB - Where to start?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]