RFC: libiberty PATCH to disable demangling of ancient mangling schemes

Simon Marchi simark@simark.ca
Sun Dec 16 04:50:00 GMT 2018


On 2018-12-14 5:39 p.m., Jason Merrill wrote:
> GDB/binutils folks, how do you want to handle this? Shall I go ahead
> with this patch, with the understanding that there will be associated
> changes necessary when merging it into the binutils-gdb repository, or
> go with the small disabling patch to start with?

Hi Jason

>From the GDB point of view, I don't see any problem.  Please proceed with
the cleanup, it should be quite easy to adjust our code when we sync libiberty.

There is a usage of cplus_mangle_opname in binutils/stabs.c, and I can't
speak for binutils.  But speaking of cplus_mangle_opname, shouldn't you also
remove the declaration in include/demangle.h?

Simon



More information about the Gdb-patches mailing list