This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
MI: -var-list-children --simple-values
- From: Vladimir Prus <vladimir at codesourcery dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 15 Nov 2006 12:50:11 +0300
- Subject: MI: -var-list-children --simple-values
Hello,
it looks like
-var-list-children --simple-values
is broken on mainline. Printing children of any C++ structure results in
segfault. The problem is that C++ structures have "public" fake child
that has no type, so mi_print_value_p tries to access properties of a NULL
type.
This is easy to fix, but given that printing C++ structures is a mainstream
use-case, and no IDE developer ever complained, this suggests that this
feature is not used. Rather than carry it along, how about just removing it?
- Volodya