public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/29385] New: [gdb, debug-types, debug-names, dwarf-5] Support .debug_names section with TUs in .debug_info
@ 2022-07-19 11:32 vries at gcc dot gnu.org
  2022-07-19 11:34 ` [Bug symtab/29385] " vries at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: vries at gcc dot gnu.org @ 2022-07-19 11:32 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29385
           Summary: [gdb, debug-types, debug-names, dwarf-5] Support
                    .debug_names section with TUs in .debug_info
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

[ spin-off of PR29381. ]

When running the test-case gdb.cp/cpexprs-debug-types.exp with target board
cc-with-debug-names on a system which defaults to dwarf5, gdb rejects the
.debug_names index because it cannot find a .debug_types section:
...
The .debug_names index is rejected in dwarf2_read_debug_names because:
...
  if (map->tu_count != 0)
    {
      /* We can only handle a single .debug_types when we have an
         index.  */
      if (per_bfd->types.size () != 1)
        return false;
...

The .debug_types section was eliminated in dwarf 5.

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

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

end of thread, other threads:[~2022-09-06  8:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19 11:32 [Bug symtab/29385] New: [gdb, debug-types, debug-names, dwarf-5] Support .debug_names section with TUs in .debug_info vries at gcc dot gnu.org
2022-07-19 11:34 ` [Bug symtab/29385] " vries at gcc dot gnu.org
2022-08-12 14:22 ` vries at gcc dot gnu.org
2022-08-12 14:24 ` vries at gcc dot gnu.org
2022-08-12 15:49 ` vries at gcc dot gnu.org
2022-09-06  8:23 ` vries at gcc dot gnu.org
2022-09-06  8:23 ` vries at gcc dot gnu.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).