public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix over-eager CU expansion with new DWARF reader
@ 2022-11-07 16:23 Tom Tromey
  2022-11-07 16:23 ` [PATCH 1/3] Remove language check from dwarf2_compute_name Tom Tromey
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Tom Tromey @ 2022-11-07 16:23 UTC (permalink / raw)
  To: gdb-patches

PR symtab/29105 concerns an over-eager CU expansion bug with the new
DWARF reader.  This short series fixes the bug.

The first two patches are tiny refactorings to make the final patch
more understandable.

I don't know how to write a good test for this.  In order to try it,
what I had to do on my machine was to install the glibc debuginfo,
disable the use of the gdb index by hacking dwarf2_initialize_objfile
(Fedora uses .gdb_index in the system debuginfo), and finally run the
sizeof.exp test and try it out by hand, with "set debug symtab-create
1".

Regression tested on x86-64 Fedora 34.  Let me know what you think.

Tom



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

end of thread, other threads:[~2022-12-02 14:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-07 16:23 [PATCH 0/3] Fix over-eager CU expansion with new DWARF reader Tom Tromey
2022-11-07 16:23 ` [PATCH 1/3] Remove language check from dwarf2_compute_name Tom Tromey
2022-12-01 15:16   ` Andrew Burgess
2022-11-07 16:23 ` [PATCH 2/3] Refactor cooked_index::do_finalize Tom Tromey
2022-12-01 15:34   ` Andrew Burgess
2022-11-07 16:23 ` [PATCH 3/3] Add name canonicalization for C Tom Tromey
2022-12-01 16:06   ` Simon Marchi
2022-12-01 16:29   ` Andrew Burgess
2022-12-01 17:56     ` Tom Tromey
2022-12-01 18:16       ` Tom Tromey
2022-12-01 23:23   ` Andrew Burgess
2022-12-02 14:39     ` 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).