binutils-gdb/gdb/unittests
Simon Marchi 5e1875543d Make xml_escape_text return an std::string
This is a simple replacement, it allows removing some manual free'ing in
the callers.

gdb/ChangeLog:

	* common/buffer.c (buffer_xml_printf): Adjust.
	* common/xml-utils.c (xml_escape_text): Change return type to
	std::string, update code accordingly.
	* common/xml-utils.h (xml_escape_text): Change return type to
	std::string.
	* rs6000-aix-tdep.c (rs6000_aix_shared_library_to_xml): Adjust.
	* windows-tdep.c (windows_xfer_shared_library): Adjust.
	* unittests/xml-utils-selftests.c (test_xml_escape_text):
	Adjust.

gdb/gdbserver/ChangeLog:

	* linux-low.c (linux_qxfer_libraries_svr4): Adjust to change of
	return type of xml_escape_text.
	* server.c (emit_dll_description): Likewise.
2017-09-16 14:19:31 +02:00
..
optional gdb::optional unit tests 2017-04-18 23:49:33 +01:00
array-view-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
environ-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
function-view-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
offset-type-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
optional-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
ptid-selftests.c ptid-selftests: Fix erroneous assert messages 2017-04-07 10:28:56 -04:00
scoped_restore-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
xml-utils-selftests.c Make xml_escape_text return an std::string 2017-09-16 14:19:31 +02:00