[PATCH] Search for DWZ files in debug-file-directories as well

Mark Wielaard mark@klomp.org
Mon Nov 16 09:32:36 GMT 2020


Hi Simon,

On Sun, 2020-11-15 at 20:25 -0500, Simon Marchi wrote:
> I don't really have an opinion on this at the moment because I don't
> know much about how dwz files are used in practice.  Is having a
> ".dwz" somewhat standard?

Yes, most GNU/Linux distros and some other packaging initiatives, like
flatpaks, create dwz alt files, with GDB support since 7.5 and the
first distros using it since 2012. dwz https://sourceware.org/dwz/
implements Appendix E DWARF Compression and Duplicate Elimination (since Dwarf3) and the alt file extension was standardized as Supplemental Dwarf files in Dwarf5 (dwz currently still produces the GNU extension format, which is close, but not identical to the standardized variant, but work is being done to fully comply with Dwarf5).

Cheers,

Mark


More information about the Gdb-patches mailing list