[PATCH v8 4/6] gdb: introduce 'all_non_exited_process_targets' and 'switch_to_target_no_thread'
Pedro Alves
palves@redhat.com
Thu May 14 11:12:51 GMT 2020
On 5/14/20 9:44 AM, Aktemur, Tankut Baris wrote:
> Christian suggested adding a comment here to state why a set was needed.
> I thought about this:
>
> /* Inferiors may share targets. To eliminate duplicates, use a set. */
Sure, sounds good.
(Note I had done one change compared to your previous version I forgot
to mention -- the "#include <set>" should be in the .h file, rather
than in the .c file, because std::set is used in the .h file already.)
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list