public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Change search_symbols to return std::vector
@ 2017-10-09  5:31 sergiodj+buildbot
  2017-10-09  5:31 ` Failures on Fedora-s390x-m64, branch master sergiodj+buildbot
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  5:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9c04fb2681dd5706d2cafa5dcc6bdcd99016cf4 ***

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

Change search_symbols to return std::vector

This changes search_symbols to return a std::vector, replacing the
previous linked list approach.  This allows the removal of some
cleanups, as well as the use of std::sort and std::unique, saving some
code and extra allocations in sort_search_symbols_remove_dups.

Regression tested by the buildbot.

gdb/ChangeLog
2017-10-08  Tom Tromey  <tom@tromey.com>

	* symtab.c (free_search_symbols, do_free_search_symbols_cleanup)
	(make_cleanup_free_search_symbols): Remove.
	(search_symbols): Return std::vector.
	(symbol_search::compare_search_syms): Now member of
	symbol_search.  Change arguments.
	(sort_search_symbols_remove_dups): Change arguments.  Rewrite.
	(symtab_symbol_info, rbreak_command): Update.
	* symtab.h (struct symbol_search) <next>: Remove.
	Add constructors.
	(symbol_search::operator<): New function.
	(symbol_search::operator==): New function.
	(search_symbols): Remove std::vector.
	(free_search_symbols, make_cleanup_free_search_symbols): Remove.
	(symbol_search::compare_search_syms): Declare.


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

end of thread, other threads:[~2017-11-20 12:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-09  5:31 [binutils-gdb] Change search_symbols to return std::vector sergiodj+buildbot
2017-10-09  5:31 ` Failures on Fedora-s390x-m64, branch master sergiodj+buildbot
2017-10-09  6:26 ` Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, " sergiodj+buildbot
2017-10-09  6:50 ` Failures on Ubuntu-AArch32-native-gdbserver-m32, " sergiodj+buildbot
2017-10-09  6:51 ` Failures on Ubuntu-AArch64-m64, " sergiodj+buildbot
2017-10-09  7:15 ` Failures on Ubuntu-AArch32-m32, " sergiodj+buildbot
2017-10-09 13:15 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot
2017-10-09 13:31 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2017-10-09 13:33 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2017-10-09 13:44 ` Failures on Fedora-i686, " sergiodj+buildbot
2017-10-09 13:50 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2017-10-09 14:02 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2017-11-09  8:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2017-11-09 15:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2017-11-19 17:14 ` Failures on Fedora-ppc64le-cc-with-index, " sergiodj+buildbot
2017-11-20  2:30 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
2017-11-20 12:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-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).