-stack-list-locals and children

Pawel Piech pawel.piech@windriver.com
Mon Jun 29 15:34:00 GMT 2009


Nick Roberts wrote:
> Note that -stack-list-locals --simple-values _does_ give type information and,
> if this is presented to the user, he can usually infer the number of children.
> In the manual:
>
>      -stack-list-locals --simple-values
>      ^done,locals=[{name="A",type="int",value="1"},
>        {name="B",type="int",value="2"},{name="C",type="int [3]"}]
>      (gdb)                                             ^^^^^^^
>   

No kidding!  2 more questions then:

- does stack-list-args support the --simple-values option?
- how long has this feature been around?

Thanks,
Pawel



More information about the Gdb mailing list