binutils-gdb/gdb/compile
Andrew Burgess 06d3e5b004 gdb: Remove a cleanup from find_overload_match
This patch changes cp-support.c:cp_func_name to return a
'gdb::unique_xmalloc_ptr<char>' instead of a 'char *'.  This allows a
cleanup to be removed from valops.c:find_overload_match.

gdb/ChangeLog:

	* compile/compile-cplus-types.c
	(compile_cplus_instance::decl_name): Handle changes to
	cp_func_name.
	* cp-support.c (cp_func_name): Update header comment, update
	return type.
	* cp-support.h (cp_func_name): Update return type in declaration.
	* valops.c (find_overload_match): Move temp_func local to top
	level of function and change its type.  Use temp_func to hold and
	delete temporary string obtained from cp_func_name.
2019-01-03 21:24:00 +00:00
..
compile-c-support.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-c-symbols.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-c-types.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-c.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-cplus-symbols.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-cplus-types.c gdb: Remove a cleanup from find_overload_match 2019-01-03 21:24:00 +00:00
compile-cplus.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-internal.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-loc2c.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-object-load.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-object-load.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-object-run.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-object-run.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
gcc-c-plugin.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
gcc-cp-plugin.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00