mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-11 11:23:35 +08:00
8b6a69b2f3
The threads that need a step-over are currently linked using an hand-written intrusive doubly-linked list, so that seems a very good candidate for intrusive_list, convert it. For this, we have a use case of appending a list to another one (in start_step_over). Based on the std::list and Boost APIs, add a splice method. However, only support splicing the other list at the end of the `this` list, since that's all we need. Add explicit default assignment operators to reference_to_pointer_iterator, which are otherwise implicitly deleted. This is needed because to define thread_step_over_list_safe_iterator, we wrap reference_to_pointer_iterator inside a basic_safe_iterator, and basic_safe_iterator needs to be able to copy-assign the wrapped iterator. The move-assignment operator is therefore not needed, only the copy-assignment operator is. But for completeness, add both. Change-Id: I31b2ff67c7b78251314646b31887ef1dfebe510c |
||
---|---|---|
.. | ||
basic_string_view | ||
optional | ||
array-view-selftests.c | ||
child-path-selftests.c | ||
cli-utils-selftests.c | ||
command-def-selftests.c | ||
common-utils-selftests.c | ||
copy_bitwise-selftests.c | ||
enum-flags-selftests.c | ||
environ-selftests.c | ||
filtered_iterator-selftests.c | ||
format_pieces-selftests.c | ||
function-view-selftests.c | ||
gdb_tilde_expand-selftests.c | ||
gmp-utils-selftests.c | ||
intrusive_list-selftests.c | ||
lookup_name_info-selftests.c | ||
main-thread-selftests.c | ||
memory-map-selftests.c | ||
memrange-selftests.c | ||
mkdir-recursive-selftests.c | ||
observable-selftests.c | ||
offset-type-selftests.c | ||
optional-selftests.c | ||
parse-connection-spec-selftests.c | ||
ptid-selftests.c | ||
rsp-low-selftests.c | ||
scoped_fd-selftests.c | ||
scoped_ignore_signal-selftests.c | ||
scoped_mmap-selftests.c | ||
scoped_restore-selftests.c | ||
search-memory-selftests.c | ||
string_view-selftests.c | ||
style-selftests.c | ||
tracepoint-selftests.c | ||
tui-selftests.c | ||
unpack-selftests.c | ||
utils-selftests.c | ||
vec-utils-selftests.c | ||
xml-utils-selftests.c |