public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/31223] New: gdb/dwarf2/read.c: m_failed and m_reported not available unless CXX_STD_THREAD defined
@ 2024-01-09 15:07 pexu at sourceware dot mail.kapsi.fi
  2024-01-09 16:29 ` [Bug build/31223] " tromey at sourceware dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pexu at sourceware dot mail.kapsi.fi @ 2024-01-09 15:07 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31223
           Summary: gdb/dwarf2/read.c: m_failed and m_reported not
                    available unless CXX_STD_THREAD defined
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: pexu at sourceware dot mail.kapsi.fi
  Target Milestone: ---

Hi.

cooked_index_worker members m_failed and m_reported are currently only
available if CXX_STD_THREAD guard is defined and non-zero.

There are unguarded references to these members at gdb/dwarf2/read.c.  Given
the context, I wonder if these members should be always available.

m_failed: lines 4925 and 5047, 5050 and 5051.
m_reported: lines 5039 and 5041.

https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdb/dwarf2/read.c;h=e055371dc6a1b9d63920dcc72a9e63efcd8297bc

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

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

end of thread, other threads:[~2024-01-09 20:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-09 15:07 [Bug build/31223] New: gdb/dwarf2/read.c: m_failed and m_reported not available unless CXX_STD_THREAD defined pexu at sourceware dot mail.kapsi.fi
2024-01-09 16:29 ` [Bug build/31223] " tromey at sourceware dot org
2024-01-09 20:21 ` tromey at sourceware dot org
2024-01-09 20:24 ` cvs-commit at gcc dot gnu.org
2024-01-09 20:24 ` tromey at sourceware 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).