public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix CU expansion queue-related problems
@ 2020-11-17 19:12 Simon Marchi
  2020-11-17 19:12 ` [PATCH 1/4] gdb/dwarf: add some logging in dwarf2/read.c Simon Marchi
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Simon Marchi @ 2020-11-17 19:12 UTC (permalink / raw)
  To: gdb-patches; +Cc: nilsgladitz, Simon Marchi

This patch series fixes problems explained in PR 26828 [1].  The
problems are related to CU DIEs loading/freeing and the CU expansion
queue.  All the gory details are in the commit logs.

I tried to write a test case for this using the DWARF assembler but I
couldn't manage to do it.  I decided to submit the series anyway,
because I'd still like to fix the issue.  I might try again later, but I
might also not have the time, so if anybody would like to give it a try,
you are welcome.

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=26828

Simon Marchi (4):
  gdb/dwarf: add some logging in dwarf2/read.c
  gdb/dwarf: add assertion in maybe_queue_comp_unit
  gdb/dwarf: don't enqueue CU in maybe_queue_comp_unit if already
    expanded
  gdb/dwarf: create and destroy dwarf2_per_bfd's CUs-to-expand queue

 gdb/dwarf2/read.c | 112 ++++++++++++++++++++++++++++++----------------
 gdb/dwarf2/read.h |   2 +-
 2 files changed, 75 insertions(+), 39 deletions(-)

-- 
2.29.1


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

end of thread, other threads:[~2021-02-24 20:32 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17 19:12 [PATCH 0/4] Fix CU expansion queue-related problems Simon Marchi
2020-11-17 19:12 ` [PATCH 1/4] gdb/dwarf: add some logging in dwarf2/read.c Simon Marchi
2020-12-09 21:08   ` Tom Tromey
2020-11-17 19:12 ` [PATCH 2/4] gdb/dwarf: add assertion in maybe_queue_comp_unit Simon Marchi
2020-12-09 21:12   ` Tom Tromey
2020-12-10 14:18     ` Simon Marchi
2021-01-21  2:18       ` Simon Marchi
2020-11-17 19:12 ` [PATCH 3/4] gdb/dwarf: don't enqueue CU in maybe_queue_comp_unit if already expanded Simon Marchi
2020-12-09 21:24   ` Tom Tromey
2020-12-10 14:52     ` Simon Marchi
2020-12-10 17:40       ` Simon Marchi
2021-01-21  2:15         ` Simon Marchi
2021-02-23  6:53           ` Joel Brobecker
2021-02-23 18:39             ` Simon Marchi
2021-02-23 23:32               ` Simon Marchi
2021-02-24  7:30                 ` Joel Brobecker
2021-02-24 20:32           ` Tom Tromey
2020-11-17 19:12 ` [PATCH 4/4] gdb/dwarf: create and destroy dwarf2_per_bfd's CUs-to-expand queue Simon Marchi
2020-12-09 21:27   ` Tom Tromey
2020-11-23 22:17 ` [PATCH 0/4] Fix CU expansion queue-related problems Simon Marchi

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