Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* -stack-list-locals and children
@ 2009-06-28 19:03 Niko Sams
  2009-06-28 19:31 ` Vladimir Prus
  2009-06-29  7:42 ` André Pönitz
  0 siblings, 2 replies; 26+ messages in thread
From: Niko Sams @ 2009-06-28 19:03 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2009-06-30 10:14 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-28 19:03 -stack-list-locals and children Niko Sams
2009-06-28 19:31 ` Vladimir Prus
2009-06-28 19:56   ` Niko Sams
2009-06-29  5:26     ` Vladimir Prus
2009-06-29  7:13       ` Niko Sams
     [not found]       ` <629542d40906290012p33c5504pde20ddcd7da3474a@mail.gmail.com>
2009-06-29  8:18         ` Vladimir Prus
2009-06-29  9:30           ` Niko Sams
2009-06-29  9:45             ` Vladimir Prus
2009-06-29 11:49             ` Nick Roberts
2009-06-29  7:42 ` André Pönitz
2009-06-29  8:13   ` Nick Roberts
2009-06-29  8:37     ` André Pönitz
2009-06-29  9:33       ` Niko Sams
2009-06-30 10:14       ` Nick Roberts
2009-06-29 15:34     ` Pawel Piech
2009-06-29 16:40       ` Vladimir Prus
2009-06-29 16:55         ` Vladimir Prus
2009-06-29 22:46       ` Nick Roberts
2009-06-29 23:07         ` Pawel Piech
2009-06-30  3:26           ` Pawel Piech
2009-06-29  8:59   ` Vladimir Prus
2009-06-29  9:32     ` André Pönitz
2009-06-29  9:39       ` Vladimir Prus
2009-06-29 10:13         ` André Pönitz
2009-06-30  9:42           ` Vladimir Prus
2009-06-29  9:36     ` Niko Sams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox