This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: DWARF debugging format implementation


On Mon, 29 Sep 2003 21:17:47 -0400, Daniel Berlin <dberlin@dberlin.org> said:
> On Sep 29, 2003, at 8:42 PM, Devang Patel wrote:

>> I'd like to know the status of implementation of DWARF debugging
>> format in FSF tool chain. What is the status of C++ namespace
>> support and duplicate header removal? I see some code for these
>> features in GCC, but I do not know whether
>> 1) it is incomplete

> I had patches to do namespace support, but it required moving some
> stuff like some c++ specific tree codes to the common codes.
> It may be easier to do it cleaner now, it may not be.
> David Carlton has probably newer veresions of my patches.

The latest versions that I have are in the log for bug 11114.  They
work with 3.2; they don't work with 3.3, I think (I haven't tried).

>> 2) it is waiting for support from GDB and/or binutil

> Yes to this for duplicate header removal.
> DW_FORM_ref_addr support in particular.

> This will require significant changes to the DWARF2 reader.

> It should at least ignore DW_TAG_namespace properly now, so ...

GDB 5.3 and later are safe to use with compilers generating
DW_TAG_namespace.  GDB 6.1 will probably take advantage of that
information (and, in general, will handle nested types better); with a
bit of luck, the relevant patches will hit mainline GDB in the next
month or two.

(I have no idea who, if anybody, is working on duplicate header
removal.)

David Carlton
carlton@kealia.com


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