This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Get rid of underscore.c
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Kai Henningsen <kai at qualify dot domain dot khms dot westfalen dot de>
- Cc: gcc-patches at gcc dot gnu dot org, <binutils at sources dot redhat dot com>
- Date: Sun, 22 Sep 2002 08:55:50 -0400 (EDT)
- Subject: Re: Get rid of underscore.c
(CC cut down to just the mailing lists.)
On Sun, 22 Sep 2002, Kai Henningsen wrote:
> > I think of c++filt like addr2line and the other binutils as small
> > utilities that give access to a mechanism that would otherwize only be
> > available by running up GDB (outch). I don't think someone should be
> > required to download/build GCC to get access to that utility.
>
> That sounds as if *all* those utilities - not only c++filt - really
> should be in a separate directory (maybe "debugutils"), accessible to all
> the usual suspects (gcc, binutils, gdb). Together with any library parts.
I disagree; that's an unnecessary distinction, we have binutils.
If it gets something from an *object file* (like addr2line) it
belongs in binutils, with the exception of gdb. Here we have a
utility where you've already managed to extract the mangled
symbols somehow. Still, it's close enough to being a binary
utility that it was decided to put it in binutils.
brgds, H-P