This is the mail archive of the gdb@sources.redhat.com 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] |
This can be a nuisance
with large arrays or structures and I would like to extend -stack-list-locals
to do the following:
1) Display the name and value for simple data types. 2) Display the name and type for complex data types.
e.g with the local variables:
int i, m[10]; struct { int j; int k; } values;
the output for "-stack-list-locals 2", say, would be:
^done,locals=[{name="i",value="5"}, {name="m",type="int [10]"} {name="values",type="struct {...}"}]
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |