Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v3 0/7] Handle foreign type units in .debug_names
@ 2026-05-11 15:40 Simon Marchi
  2026-05-11 15:40 ` [PATCH v3 1/7] gdb/dwarf: move dwo_unit and dwo_file to dwo.h Simon Marchi
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Simon Marchi @ 2026-05-11 15:40 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

This is v3 of:

  https://inbox.sourceware.org/gdb-patches/20260416200256.386186-1-simon.marchi@efficios.com/

I merged the first patch of v2 ("gdb: refuse to produce .gdb_index when
skeletonless type units are present"), ensuring that GDB does not
produce bogus indexes in presence of foreign type units.

I addressed the review comments from v2, which were all pretty minor.
The first patch of this series moves the dwo data structures to a new
dwarf2/dwo.h header file, instead of dwarf2/read.h.  That is the only
one worth re-reviewing, I think, all the others have the Approved-By tag
already.

Simon Marchi (7):
  gdb/dwarf: move dwo_unit and dwo_file to dwo.h
  gdb/dwarf: move dwarf2_cu::section to cu.c
  gdb/dwarf: add dwo_file::find_tus
  gdb/dwarf: generate foreign type units in .debug_names
  gdb/dwarf: add debug output in read-debug-names.c
  gdb/dwarf: add more context to complaints in
    mapped_debug_names_reader::scan_one_entry
  gdb/dwarf: read foreign type units

 gdb/dwarf2/cu.c                               |  11 +
 gdb/dwarf2/dwo.h                              | 239 +++++++++++
 gdb/dwarf2/index-write.c                      | 165 ++++++--
 gdb/dwarf2/read-debug-names.c                 | 357 +++++++++++++---
 gdb/dwarf2/read.c                             | 390 ++++++++----------
 gdb/dwarf2/read.h                             | 117 ++++--
 gdb/dwarf2/types.h                            |   2 +
 ...dwarf5-fission-debug-types-debug-names.exp |  29 ++
 8 files changed, 975 insertions(+), 335 deletions(-)
 create mode 100644 gdb/dwarf2/dwo.h
 create mode 100644 gdb/testsuite/boards/dwarf5-fission-debug-types-debug-names.exp


base-commit: 62cc7210c87a08a9e10955d9a240cfe0c0b5ee13
-- 
2.54.0


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

end of thread, other threads:[~2026-05-19 20:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-11 15:40 [PATCH v3 0/7] Handle foreign type units in .debug_names Simon Marchi
2026-05-11 15:40 ` [PATCH v3 1/7] gdb/dwarf: move dwo_unit and dwo_file to dwo.h Simon Marchi
2026-05-13 15:18   ` Tom Tromey
2026-05-13 17:30     ` Simon Marchi
2026-05-11 15:40 ` [PATCH v3 2/7] gdb/dwarf: move dwarf2_cu::section to cu.c Simon Marchi
2026-05-11 15:40 ` [PATCH v3 3/7] gdb/dwarf: add dwo_file::find_tus Simon Marchi
2026-05-11 15:40 ` [PATCH v3 4/7] gdb/dwarf: generate foreign type units in .debug_names Simon Marchi
2026-05-11 15:40 ` [PATCH v3 5/7] gdb/dwarf: add debug output in read-debug-names.c Simon Marchi
2026-05-11 15:40 ` [PATCH v3 6/7] gdb/dwarf: add more context to complaints in mapped_debug_names_reader::scan_one_entry Simon Marchi
2026-05-11 15:40 ` [PATCH v3 7/7] gdb/dwarf: read foreign type units Simon Marchi
2026-05-19 19:42   ` Guinevere Larsen
2026-05-19 20:10     ` Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox