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: New object file parser?


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


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