public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug remote/25752] New: inprocess tracepoint thread is unnamed
@ 2020-03-31 12:17 nathan at acm dot org
  0 siblings, 0 replies; only message in thread
From: nathan at acm dot org @ 2020-03-31 12:17 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=25752

            Bug ID: 25752
           Summary: inprocess tracepoint thread is unnamed
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: remote
          Assignee: unassigned at sourceware dot org
          Reporter: nathan at acm dot org
  Target Milestone: ---

The in-process tracepoint library (gdbserver/tracepoint.cc) creates a thread,
but doesn't name it.  That makes it hard for a threaded application to account
for this unknown thread.

putting a pthread_setname_np call into gdb_agent_init, with suitable detection
that it's using glibc for the non-portable call?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-31 12:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-31 12:17 [Bug remote/25752] New: inprocess tracepoint thread is unnamed nathan at acm dot org

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).