From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15487 invoked by alias); 2 Dec 2002 14:28:45 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15477 invoked from network); 2 Dec 2002 14:28:44 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 2 Dec 2002 14:28:44 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18ItRO-00031N-00; Mon, 02 Dec 2002 10:29:02 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18IrZH-0001sI-00; Mon, 02 Dec 2002 09:29:03 -0500 Date: Mon, 02 Dec 2002 06:28:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: James Sampson , Andrew Cagney , GDB Archive Subject: Re: Porting GDB - Where to start? Message-ID: <20021202142903.GA7113@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , James Sampson , Andrew Cagney , GDB Archive References: <20021201211835.GA12876@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2002-12/txt/msg00010.txt.bz2 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