public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Jonny Grant <jg@jguk.org>
To: Kamil Rytarowski <kamil@netbsd.org>, gdb@sourceware.org
Subject: Re: gdb show thread names
Date: Mon, 15 Jun 2020 16:25:04 +0100	[thread overview]
Message-ID: <57201f6c-fc0b-2f67-679f-a06800b7279c@jguk.org> (raw)
In-Reply-To: <2d9c1469-3b10-50b9-f13b-8031b4ee9356@netbsd.org>



On 15/06/2020 12:42, Kamil Rytarowski wrote:
> On 13.06.2020 02:16, Jonny Grant wrote:
>> Hello
>> Just wondering if gdb could show the thread names as they are created and deleted?
>>
> 
> As created generally no, as it gets a meaningful name usually after
> creation from a dedicated syscall.
> 
> If there is a legitimate use-case, I can implement reporting thread
> rename for NetBSD and report in GDB. But as we would report thread
> renames, what about other events?

Not sure about other events, I only saw this useful use case.

Thank you
Jonny

      reply	other threads:[~2020-06-15 15:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-13  0:16 Jonny Grant
2020-06-13 12:47 ` Philippe Waroquiers
2020-06-13 22:22   ` Jonny Grant
2020-06-14 14:22     ` Philippe Waroquiers
2020-06-15 15:51     ` Pedro Alves
2020-06-15 16:21       ` Philippe Waroquiers
2020-06-15 20:53         ` Jonny Grant
2020-06-15 21:12           ` Pedro Alves
2020-06-15 21:28             ` Jonny Grant
2020-06-15 21:42               ` Pedro Alves
2020-06-15 11:42 ` Kamil Rytarowski
2020-06-15 15:25   ` Jonny Grant [this message]

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=57201f6c-fc0b-2f67-679f-a06800b7279c@jguk.org \
    --to=jg@jguk.org \
    --cc=gdb@sourceware.org \
    --cc=kamil@netbsd.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).