binutils-gdb/gdb/doc
Simon Marchi 041be52673 gdb: Remove support for old mangling schemes
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).

I think the changes are mostly relatively obvious, some hacks that were
necessary to support overloaded operators with GNU v2 mangling are not
needed anymore.

The change in stabsread.c is perhaps less obvious.  I think we could get
rid of more code in that region that is specific to old mangling
schemes, but I chose to do only the minimal changes required to remove
the cplus_demangle_opname uses.  There is also a detailed comment just
above that explaining how GNU v2 and v3 mangled symbols are handled, I
decided to leave it as-is, since I wasn't sure which part to remove,
change or leave there.

[1] The commit "Remove support for demangling GCC 2.x era mangling
schemes.", specifically.

gdb/ChangeLog:

	* gdbtypes.c (check_stub_method_group): Remove handling of old
	mangling schemes.
	* linespec.c (find_methods): Likewise.
	* stabsread.c (read_member_functions): Likewise.
	* valops.c (search_struct_method): Likewise.
	(value_struct_elt_for_reference): Likewise.
	* NEWS: Mention this change.

gdb/testsuite/ChangeLog:

	* gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
	(test_gnuv3_style_demangling): ... this.
	(test_lucid_style_demangling): Remove.
	(test_arm_style_demangling): Remove.
	(test_hp_style_demangling): Remove.
	(do_tests): Remove calls to the above.

gdb/doc/ChangeLog:

	* gdb.texinfo (Print Settings): Remove mention of specific
	demangle-style values, just refer to the in-process help.
2019-01-09 12:58:05 -05:00
..
.gitignore Update and add .gitignore's 2016-09-21 13:12:21 -04:00
ChangeLog gdb: Remove support for old mangling schemes 2019-01-09 12:58:05 -05:00
Doxyfile-base.in Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
Doxyfile-gdb-api.in Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
Doxyfile-gdb-xref.in Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
Doxyfile-gdbserver.in Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
Makefile.in Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
a4rc.sed
agentexpr.texi Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
all-cfg.texi Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
annotate.texinfo Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
doxy-index.in Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
fdl.texi
filter-for-doxygen
filter-params.pl
gdb.texinfo gdb: Remove support for old mangling schemes 2019-01-09 12:58:05 -05:00
gpl.texi
guile.texi Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
lpsrc.sed
psrc.sed
python.texi Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
refcard.tex Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
stabs.texinfo Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
stack_frame.eps
stack_frame.pdf
stack_frame.png
stack_frame.svg
stack_frame.txt