From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9838 invoked by alias); 12 Jul 2002 17:11:15 -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 9825 invoked from network); 12 Jul 2002 17:11:11 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 12 Jul 2002 17:11:11 -0000 Received: from dsl254-114-096.nyc1.dsl.speakeasy.net ([216.254.114.96] helo=nevyn.them.org) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17T3wX-0006pV-00; Fri, 12 Jul 2002 12:10:57 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17T3wb-0000Eb-00; Fri, 12 Jul 2002 13:11:01 -0400 Date: Fri, 12 Jul 2002 10:11:00 -0000 From: Daniel Jacobowitz To: Dan Towner Cc: Jim Blandy , gdb@sources.redhat.com Subject: Re: New object file parser? Message-ID: <20020712171059.GA707@nevyn.them.org> Mail-Followup-To: Dan Towner , Jim Blandy , gdb@sources.redhat.com References: <3D2EFDE0.159BCF83@picochip.com> <3D2F0A4F.85D201C6@picochip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D2F0A4F.85D201C6@picochip.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-07/txt/msg00135.txt.bz2 On Fri, Jul 12, 2002 at 05:56:47PM +0100, Dan Towner wrote: > Jim Blandy wrote: > > > Well, there's S-records. I don't know if they can carry symbol > > information, though. I think not. > > > > If you need a symbol table, I'd say a.out is probably the simplest one > > there is. You can probably find documentation for a.out in the SunOS > > 4 man pages, or perhaps somewhere on the Web. > > > > The next question is, what debugging format do you use? Converting > > debugging info from the proprietary format to STABS or Dwarf is going > > to be the hard part, I'd bet. > > It already uses STABS, it just stores it in a slightly odd way. In all honesty, although it is slightly more effort, I recommend using ELF instead. If you aren't trying to be terribly complicated with it, then it's fairly straightforward; and UNLIKE a.out, it is very well documented. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer