This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Use std::set in mi-main.c
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 30 Sep 2017 22:06:36 -0400
- Subject: [binutils-gdb] Use std::set in mi-main.c
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 52f9abe4c739f42cc5f80b2629276493ac6306f9 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 52f9abe4c739f42cc5f80b2629276493ac6306f9
Use std::set in mi-main.c
Change a couple of spots in mi-main.c to use std::set. This
simplifies the code and removes some cleanups.
gdb/ChangeLog
2017-09-29 Tom Tromey <tom@tromey.com>
* mi/mi-main.c (struct print_one_inferior_data) <inferiors>: Now a
'std::set *'.
(print_one_inferior): Update.
(free_vector_of_ints): Remove.
(list_available_thread_groups): Change "ids" to std::set.
(mi_cmd_list_thread_groups): Update.
(struct collect_cores_data) <core>: Now a std::set.
(collect_cores): Update.
(unique): Remove.
(print_one_inferior): Update.