public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/30087] New: "What" column of a thread-specific multi-location breakpoint shows "thread N" instead of "thread INF.THR"
@ 2023-02-06 17:39 pedro at palves dot net
  2023-02-07 14:42 ` [Bug breakpoints/30087] " cvs-commit at gcc dot gnu.org
  2023-02-07 14:47 ` aburgess at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: pedro at palves dot net @ 2023-02-06 17:39 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 30087
           Summary: "What" column of a thread-specific multi-location
                    breakpoint shows "thread N" instead of "thread
                    INF.THR"
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: pedro at palves dot net
  Target Milestone: ---

The "What" column of a thread-specific multi-location breakpoint shows "thread
N" instead of "thread INF.THR" when there are multiple inferiors.  Vis:

 (gdb) b main thread 1.1
 Breakpoint 1 at 0x1285: main. (2 locations)
 (gdb) info breakpoints 
 Num     Type           Disp Enb Address            What
 1       breakpoint     keep y   <MULTIPLE>          thread 1
         stop only in thread 1.1
 1.1                         y   0x0000000000001285 in main at 
 gdb.multi/goodbye.c:61 inf 2
 1.2                         y   0x00005555555551f0 in main at 
 gdb.multi/hello.c:51 inf 1

I haven't checked the code to check what we're printing there exactly.  Maybe
we're printing the thread id as-if in single-inferior mode, or maybe it's the
thread global id leaking out.  Whatever it is, it looks wrong.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-07 14:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06 17:39 [Bug breakpoints/30087] New: "What" column of a thread-specific multi-location breakpoint shows "thread N" instead of "thread INF.THR" pedro at palves dot net
2023-02-07 14:42 ` [Bug breakpoints/30087] " cvs-commit at gcc dot gnu.org
2023-02-07 14:47 ` aburgess at redhat dot com

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