Re: [PATCH v2] gdb: fix an issue with thread list corruption

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
>>>>> "Markus" == Markus Metzger <[email protected]> writes:

Markus> The thread we're proceeding is stopped and there is no reason to delete
Markus> it.  Consequently, there is no reason for all_threads_safe(), which isn't
Markus> that safe in this scenario.

Markus> Iterate using all_threads() and inline proceed_thread_callback().

Thanks, this is ok.  Somehow I missed this earlier.

Approved-By: Tom Tromey <[email protected]>

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.