Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@redhat.com>
To: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>,
	gdb-patches@sourceware.org
Subject: Re: [PATCH 2/2] gdb, multi-target: pass a target argument to delete_exited_threads
Date: Fri, 17 Apr 2026 16:20:10 +0100	[thread overview]
Message-ID: <87tst9d36d.fsf@redhat.com> (raw)
In-Reply-To: <20260417111455.4126998-1-tankut.baris.aktemur@intel.com>

Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> writes:

> Similar to the parent commit, delete_exited_threads is also mostly
> used in the context of a particular target.  Pass that target as a
> parameter and skip other targets.
>
> There seems to be two cases where we actually would want to iterate
> all targets.  One use is in inferior_appeared (inferior.c) and the
> other is in thread_select (thread.c).  To handle these cases, allow
> the argument to be nullptr.

Similar comment to patch #1 in this series; I'd like to understand if
there was some motivating issue that triggered this change or not.

Thanks,
Andrew


  reply	other threads:[~2026-04-17 15:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-17 11:14 Tankut Baris Aktemur
2026-04-17 15:20 ` Andrew Burgess [this message]
2026-04-17 15:39 ` Simon Marchi

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=87tst9d36d.fsf@redhat.com \
    --to=aburgess@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tankut.baris.aktemur@intel.com \
    /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