public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Some minor dwz-handling improvements & cleanups
@ 2021-02-21  3:16 Tom Tromey
  2021-02-21  3:16 ` [PATCH 1/5] Create new file dwarf2/sect-names.h Tom Tromey
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Tom Tromey @ 2021-02-21  3:16 UTC (permalink / raw)
  To: gdb-patches

I was looking at adding support for DWARF 5's equivalent to
.gnu_debugaltlink, and found that I could provoke a gdb crash.  In
particular, if gdb tries to process a form requiring a "dwz" file, but
no .gnu_debugaltlink section exists, then that will cause a failure.
See patch #3 for some more info on this.

While fixing this, I found a number of small cleanups that made the
result a bit prettier.  There are more like this that are possible,
for example basically none of the DWARF code should be in symfile.h.

Let me know what you think.

Tom



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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-21  3:16 [PATCH 0/5] Some minor dwz-handling improvements & cleanups Tom Tromey
2021-02-21  3:16 ` [PATCH 1/5] Create new file dwarf2/sect-names.h Tom Tromey
2021-02-21  3:16 ` [PATCH 2/5] Change section_is_p to a method on dwarf2_section_names Tom Tromey
2021-02-21  3:16 ` [PATCH 3/5] Avoid crash on missing dwz file Tom Tromey
2021-02-21 16:23   ` Tom Tromey
2021-02-21 17:19     ` Tom Tromey
2021-02-21  3:16 ` [PATCH 4/5] Include scoped_fd.h in debuginfod-support.h Tom Tromey
2021-02-21  3:16 ` [PATCH 5/5] Move dwarf2_get_dwz_file to dwarf2/dwz.h Tom Tromey
2021-03-06 16:28 ` [PATCH 0/5] Some minor dwz-handling improvements & cleanups 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).