This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[0/10] RFC: implement support for DW_TAG_imported_unit
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 25 Apr 2012 12:12:31 -0600
- Subject: [0/10] RFC: implement support for DW_TAG_imported_unit
This series implements support for DW_TAG_imported_unit. This is needed
in order to handle the output of Jakub's "dwz" tool, which was recently
mentioned on the gcc list and elsewhere.
You can get dwz here:
git://sourceware.org/git/dwz
I took a relatively complicated approach to implementing
DW_TAG_imported_unit, in order to make gdb as efficient as possible when
using it. Another approach is possible, based on re-reading all partial
unit ("PU") DIEs at each inclusion point. However, this would use more
memory and more CPU.
I'm posting this as an RFC. I plan to rebase it on top of Doug's work
before committing.
I split the patches somewhat logically. They aren't actually all
independent, though, in that some patches introduce regressions which
are fixed later. I split them this way to make the series easier to
understand.
Tom