bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <incomplete type> for C++ programs


From: Jim Blandy
Subject: Re: <incomplete type> for C++ programs
Date: 24 Sep 2001 16:35:35 -0500

Wouter De Maere <address@hidden> writes:
> I am using gdb version 4.17 and version 5.0.
> Both of the gdb's show the same problem, when
> debugging C++ software: when you are printing an
> instance of a class, it often says <incomplete type>.
> This usually happens for nested classes.
> I'm compiling the software with
>     gcc 2.95.2
> 
> Any ideas ?

GDB's support for qualified names is very poor.  GDB's internal
representation for the symbol table, types, and so on needs
substantial work before it can properly handle C++ nested classes,
namespaces, and so on.

At the moment, GDB is waiting for someone with the skill and patience
needed to get it right to volunteer to tackle the problem.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]