public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove a cleanup from target-descriptions.c
@ 2019-01-03  0:11 sergiodj+buildbot
  2019-01-03  0:11 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: sergiodj+buildbot @ 2019-01-03  0:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c55d06ec95961fadd9deeffae519ff0f20f237d3 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: c55d06ec95961fadd9deeffae519ff0f20f237d3

Remove a cleanup from target-descriptions.c

This removes a cleanup from target-descriptions.c, by changing it to
use a unique_ptr instead.  Note that a deletion adapter is used, even
though target_desc is allocated with new, to avoid moving target_desc
to target-descriptions.h.

gdb/ChangeLog
2019-01-02  Tom Tromey  <tom@tromey.com>

	* xml-tdesc.c (xml_cache): Hold a target_desc_up.
	(tdesc_parse_xml): Remove cleanups.
	* target-descriptions.h (make_cleanup_free_target_description):
	Don't declare.
	(target_desc_deleter): New struct.
	(target_desc_up): New typedef.
	* target-descriptions.c (target_desc_deleter::operator()): Rename
	from free_target_description.
	(make_cleanup_free_target_description): Remove.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-01-03 18:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-03  0:11 [binutils-gdb] Remove a cleanup from target-descriptions.c sergiodj+buildbot
2019-01-03  0:11 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
2019-01-03  3:16 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2019-01-03  4:00 ` Failures on Fedora-i686, " sergiodj+buildbot
2019-01-03  4:10 ` Failures on Debian-s390x-m64, " sergiodj+buildbot
2019-01-03  4:25 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2019-01-03  4:40 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2019-01-03  4:58 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2019-01-03  5:05 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2019-01-03  5:08 ` Failures on Fedora-x86_64-m64, " sergiodj+buildbot
2019-01-03  5:20 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
2019-01-03 16:04 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " sergiodj+buildbot
2019-01-03 17:38 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, " sergiodj+buildbot
2019-01-03 18:03 ` Failures on Ubuntu-Aarch64-m64, " sergiodj+buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).