public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Clean up language handling in the DWARF reader
@ 2021-06-08 15:26 Tom Tromey
  2021-06-08 15:26 ` [PATCH 1/2] Consolidate CU language setting Tom Tromey
  2021-06-08 15:26 ` [PATCH 2/2] Remove dwarf2_cu::language Tom Tromey
  0 siblings, 2 replies; 16+ messages in thread
From: Tom Tromey @ 2021-06-08 15:26 UTC (permalink / raw)
  To: gdb-patches

In my series to rewrite the DWARF psymtab reader, I needed to use the
dwarf2_per_cu_data 'lang' field.  However, I found that this field is
not normally set before the scanning is done, only afterward.

I fixed this with a hack on my WIP branch, but I decided to pull this
out into a separate patch.  Looking at it more deeply, I found that
this was set inconsistently (fixed in patch #1), and also that the
field is redundant (fixed in patch #2).

Regression tested on x86-64 Fedora 32.

Tom



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

end of thread, other threads:[~2021-06-28 20:11 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 15:26 [PATCH 0/2] Clean up language handling in the DWARF reader Tom Tromey
2021-06-08 15:26 ` [PATCH 1/2] Consolidate CU language setting Tom Tromey
2021-06-09  1:32   ` Simon Marchi
2021-06-09 20:22     ` Tom Tromey
2021-06-08 15:26 ` [PATCH 2/2] Remove dwarf2_cu::language Tom Tromey
2021-06-09  1:58   ` Simon Marchi
2021-06-09 20:26     ` Tom Tromey
2021-06-09 21:00       ` Tom Tromey
2021-06-10  2:28       ` Tom Tromey
2021-06-10 13:50         ` Simon Marchi
2021-06-10 18:24           ` Tom Tromey
2021-06-10 22:35       ` Tom de Vries
2021-06-11 15:00         ` Tom Tromey
2021-06-14 22:16           ` Tom de Vries
2021-06-16 11:09             ` Tom de Vries
2021-06-28 20:11             ` Tom Tromey

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