This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
-stack-list-locals and children
- From: Niko Sams <niko dot sams at gmail dot com>
- To: gdb <gdb at sourceware dot org>
- Date: Sun, 28 Jun 2009 21:03:01 +0200
- Subject: -stack-list-locals and children
Hi,
-stack-list-locals doesn't return an numchild element. How can the IDE
know if a local
is has children?
If there are children, they are listed in value:
^done,locals=[{name="list",value="QList = {[0] = \"hello\"}"}]
Is it a good idea to parse the value with an regular expression to
find out if there are children?
Or is there a better way to get numchild?
Niko