Re: <incomplete type> in python api

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
>>>>> "Dmitry" == Dmitry Neverov via Gdb <[email protected]> writes:

Dmitry> When debug info is missing, -mi-var-create returns the '<incomplete type>' value:
Dmitry>   41-mi-var-create var1_buf * \"buf\""
Dmitry>   41^done,name="var1_buf",numchild="0",value="<incomplete type>",type="std::stringbuf",thread-id="1",displayhint="string",dynamic="1",has_more="0"

Dmitry> Debugger users can google for '<incomplete type>' and find possible ways
Dmitry> to address the problem.

Dmitry> Is it possible to detect such an incomplete type in python api?

Not really.  type::is_stub could probably be exposed to Python though.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.