[PATCH] gdb: Remove support for old mangling schemes

Pedro Alves palves@redhat.com
Wed Jan 9 18:53:00 GMT 2019


On 01/09/2019 04:59 PM, Tom Tromey wrote:
>>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:
> 
> Keith> The manual talks about several demangling-related features which
> Keith> raised questions for me about the general support for gnu-v2 code. If
> Keith> libiberty is removing support for v2 demangling, how useful will GDB be
> Keith> without the ability to demangle v2 symbols? Should we deprecate or remove
> Keith> that, too? /me opens can of worms
> 
> I tend to think removing the GNU v2 ABI support would be fine.
> It's long since obsolete.  If someone out there still requires gcc 2.95,
> I suppose they can either build an old gdb as well, or use "set lang c".

+1

For those not involved earlier, note that impact on gdb was also
discussed before the libiberty code was dropped.  It was only removed
because we gave our blessing.  FWIW, here was my opinion on it:

 https://sourceware.org/ml/gdb-patches/2018-12/msg00091.html

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list