This is an archive of the discontinued LLVM Phabricator instance.

Implement -stack-list-variables
ClosedPublic

Authored by ChuckR on Apr 27 2015, 6:34 PM.

Details

Summary

-stack-list-variables is able to list both local variables and stack arguments for a specific thread/frame. Args are denoted with 'arg="1"'. The gdb documentation can be found here: https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Stack-Manipulation.html#GDB_002fMI-Stack-Manipulation

I have verified that the MI result matches what gdb mi outputs

Diff Detail

Event Timeline

ChuckR updated this revision to Diff 24526.Apr 27 2015, 6:34 PM
ChuckR retitled this revision from to Implement -stack-list-variables.
ChuckR updated this object.
ChuckR edited the test plan for this revision. (Show Details)
ChuckR added reviewers: abidh, paulmaybee.
ChuckR added a subscriber: Unknown Object (MLST).
abidh accepted this revision.Apr 28 2015, 3:04 AM
abidh edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Apr 28 2015, 3:04 AM

Could somebody please check this in for me?

abidh closed this revision.Apr 29 2015, 1:22 AM

Committed in 236090.