This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: Remove support for old mangling schemes
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 09 Jan 2019 05:38:02 +0200
- Subject: Re: [PATCH] gdb: Remove support for old mangling schemes
- References: <20190108232208.17487-1-simon.marchi@ericsson.com>
> From: Simon Marchi <simon.marchi@ericsson.com>
> CC: Simon Marchi <simon.marchi@ericsson.com>
> Date: Tue, 8 Jan 2019 23:22:22 +0000
>
> An upcoming sync with gcc's libiberty [1] will remove support for old
> mangling schemes (GNU v2, Lucid, ARM, HP and EDG). It will remove the
> cplus_demangle_opname function, so we need to get rid of its usages in
> GDB (it's a GNU v2 specific function).
This would mean new GDB releases will not be able to debug old
programs, is that right? If so, perhaps we should instead keep our
local version of the relative functions, so that GDB will not regress
in that way. Our considerations in this matter are different from
those of GCC.