* <incomplete type> in python api
@ 2024-05-24 14:26 Dmitry.Neverov via Gdb
2024-06-26 17:18 ` Tom Tromey
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry.Neverov via Gdb @ 2024-05-24 14:26 UTC (permalink / raw)
To: gdb
When debug info is missing, -mi-var-create returns the '<incomplete type>' value:
41-mi-var-create var1_buf * \"buf\""
41^done,name="var1_buf",numchild="0",value="<incomplete type>",type="std::stringbuf",thread-id="1",displayhint="string",dynamic="1",has_more="0"
Debugger users can google for '<incomplete type>' and find possible ways
to address the problem.
Is it possible to detect such an incomplete type in python api?
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: <incomplete type> in python api
2024-05-24 14:26 <incomplete type> in python api Dmitry.Neverov via Gdb
@ 2024-06-26 17:18 ` Tom Tromey
0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2024-06-26 17:18 UTC (permalink / raw)
To: Dmitry.Neverov via Gdb; +Cc: Dmitry.Neverov
>>>>> "Dmitry" == Dmitry Neverov via Gdb <gdb@sourceware.org> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-26 17:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-24 14:26 <incomplete type> in python api Dmitry.Neverov via Gdb
2024-06-26 17:18 ` Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox