This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[0/12] RFC: support for 'dwz -m'


I'm posting this series as an RFC.  I intend to check it in, just not
yet -- it is too large, IMO, to go in just before 7.5, and also we're
hoping to get some official DWARF constants assigned beforehand (see
patch #1).  Finally, this series needs a couple of links to
documentation, which I think isn't ready yet.

Jakub recently posted about his new DWARF compression tool, 'dwz':

    http://gcc.gnu.org/ml/gcc/2012-04/msg00686.html

The 'multifile' branch of the dwz repository implements support for a
multi-file mode.  The idea behind this mode is that commonalities
between a set of files are extracted into a new '.dwz' file, that is
then referenced by the rewritten original files.

We intend to use this when creating debuginfo RPMs.  It yields a nice
compression boost for some packages.

This patch series implements support for the needed DWARF extensions in
gdb.  Part of the series comes from my earlier minsym sharing series.
Some of these are really just plain cleanups that I probably should have
put in long ago.

The bulk of the real work is in patches #9 and #10.

I'd like to thank Doug for his Fission work, which made this much
simpler than it otherwise would have been.

I've regression tested the series using plain 'dwz -m', but not
multifile compression in conjunction with .gdb_index (the dwz change
here isn't ready yet).  I will do this testing before committing.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]