From: Tom Tromey <tom@tromey.com>
To: Markus Metzger <markus.t.metzger@intel.com>
Cc: gdb-patches@sourceware.org, Simon Marchi <simark@simark.ca>
Subject: Re: [PATCH v2] gdb: fix an issue with thread list corruption
Date: Fri, 17 Jul 2026 11:18:40 -0600 [thread overview]
Message-ID: <87tspxwn4f.fsf@tromey.com> (raw)
In-Reply-To: <20260505050618.1366426-1-markus.t.metzger@intel.com> (Markus Metzger's message of "Tue, 5 May 2026 05:06:18 +0000")
>>>>> "Markus" == Markus Metzger <markus.t.metzger@intel.com> 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 <tom@tromey.com>
Tom
next prev parent reply other threads:[~2026-07-17 17:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-05 5:06 Markus Metzger
2026-07-17 17:18 ` Tom Tromey [this message]
2026-07-20 6:03 ` Metzger, Markus T
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tspxwn4f.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=markus.t.metzger@intel.com \
--cc=simark@simark.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox