This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Updated patch to output dwarf2 namespace debug info
On Mon, 01 Dec 2003 21:00:51 +0100, Andreas Jaeger <aj@suse.de> said:
> David Carlton <carlton@kealia.com> writes:
>> cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src co -r carlton_dictionary-branch gdb+dejagnu
>>
>> To run tests, go to the gdb directory and do 'make check'. The test
>> results shouldn't be any worse after this patch has been applied to
>> GCC than they were before the patch was applied; one test, in
>> rtti.exp, should turn from a FAIL (or KFAIL, I can't remember) to
>> PASS.
> When is this branch going to be merged to mainline? For the release
> of GCC 3.4, we need a gdb that handles this correctly I assume...
You need a version of GDB that doesn't behave any worse with the info
than without the info, which has been the case since GDB 5.3.
The merge is in process (and fairly far along towards completion,
actually); I would be shocked if GDB 6.1 weren't happier if
DW_TAG_namespace is present than if it isn't present, though it should
deal acceptably with the situation where it isn't present. (Indeed,
its support for nested types should be an improvement over GDB 6.0
whether or not DW_TAG_namespace is present.)
David Carlton
carlton@kealia.com