public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
From: sergiodj+buildbot@sergiodj.net
To: gdb-testers@sourceware.org
Subject: [binutils-gdb] Delete test target descriptions when exiting
Date: Tue, 31 Jul 2018 14:25:00 -0000	[thread overview]
Message-ID: <1c28969efcca7c214e41c496f599bc4de2c56dbe@gdb-build> (raw)

*** TEST RESULTS FOR COMMIT 1c28969efcca7c214e41c496f599bc4de2c56dbe ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 1c28969efcca7c214e41c496f599bc4de2c56dbe

Delete test target descriptions when exiting

Looking at the address sanitizer output, this was a quite low hanging
fruit.  We create target_desc objects for testing that we never free.
Saving them in unique_ptrs takes care of it.

I created a small struct to hold these because I thought it would help
readability.

gdb/ChangeLog:

	* target-descriptions.c (struct xml_test_tdesc): New.
	(xml_tdesc): Change type to std::vector<xml_test_tdesc>.
	(record_xml_tdesc): Update.
	(maintenance_check_xml_descriptions): Update.
	* target-descriptions.h (record_xml_tdesc): Update comment.


             reply	other threads:[~2018-07-31 14:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-31 14:25 sergiodj+buildbot [this message]
2018-07-31 14:25 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
2018-07-31 14:33 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
2018-07-31 14:42 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot
2018-07-31 14:45 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2018-07-31 14:46 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-w64-mingw32, branch master *** BREAKAGE *** sergiodj+buildbot
2018-07-31 15:29 ` Failures on Debian-s390x-m64, branch master sergiodj+buildbot
2018-07-31 15:33 ` Failures on Fedora-x86_64-m64, " sergiodj+buildbot
2018-07-31 16:35 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2018-07-31 16:58 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot
2018-08-18 14:55 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1c28969efcca7c214e41c496f599bc4de2c56dbe@gdb-build \
    --to=sergiodj+buildbot@sergiodj.net \
    --cc=gdb-testers@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).