-stack-list-[locals,variables,arguments] take a "print values" parameter. When -simple-values (or 2) is specified then name, type, and value results should be returned. Type was not being returned.
Diff Detail
Event Timeline
Hi Paul,
I already have a revision out that fixes this problem alongwith another problem.
http://reviews.llvm.org/D9827
I had been busy lately and could not respond to a few objections raised by Ilia on my patch. I will try to change the revision and commit it in a few days.
Thanks,
Abid
Hi Abid,
Yeah looks like you are solving the same problem. I didn't see your review in progress. I do, however, believe my patch also fixes both the issues you address with yours, and does have the issue that Ilia raises.
-Paul
If you can modify your patch so that it addresses the 2nd issue as Ilia wants then it is ok for me. Please see the bugzilla entry that is mentioned in my revision for more details. Otherwise you can wait for me to get around to fixing it.
Thanks,
Abid
Sorry, I mistyped the comment in the review. My fix "does not" have the issue the Ilia raised. That is, it does return names in simple lists when no values are asked for.
tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp | ||
---|---|---|
480 | are not you be adding this name twice in the Tuple? It is also added below with when vbMarkArgs is true. |
tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp | ||
---|---|---|
480 | No. Because of the continue at the end of the "if" statement the vbMarkArgs test will not be executed. |
Sometime types can have slight difference across platforms. Make sure it does not cause test failure somewhere. Otherwise looks ok. Please go ahead and commit.
are not you be adding this name twice in the Tuple? It is also added below with when vbMarkArgs is true.