[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#201561: ITP: elfutils -- Tools to read from and write to ELF files



Quoting Steve Greenland <steveg@moregruel.net> (2003-07-16 17:46:25 BST):
> On 16-Jul-03, 08:27 (CDT), Andrew Stribblehill <ads@debian.org> wrote: 
> >   Description     : Tools to read from and write to ELF files
> > 
> > A collection of utilities, including ld (a linker), nm (for listing
> > symbols from object files), size (for listing the section sizes of an
> > object or archive file), strip (for discarding symbols), readline (the
> > see the raw ELF file structures), and elflint (to check for well-formed
> > ELF files). Also included are numerous helper libraries which implement
> > DWARF, ELF, and machine-specific ELF handling.
> 
> And the point of this would be? I mean, I certainly don't object to you
> packaging this, but I've no idea why I would want to install it, given
> binutils.

Fair question! This package's strip program allows you to strip out
debugging symbols, _putting them in a separate file_. This can be
used by gdb at a later date for debugging a stripped binary as if it
weren't stripped. No extra arguments to gdb need be provided either,
as far as I can tell.

Then I can provide a package foo with an adjunct, foo-debug or
foo-dbg (which will depend on foo). It looks to be a neater solution
than having two separate incompatible packages called foo and foo-dbg.

I freely admit, I got the idea from Red Hat. They provide
foo-debuginfo RPMs for virtually every package, I believe.

-- 
VIKING
EASTERLY 3 OR 4, OCCASIONALLY 5 IN SOUTH. FAIR. MAINLY GOOD



Reply to: