This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -stack-list-locals and children


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]