This is an archive of the discontinued LLVM Phabricator instance.

Fix -var-create and -var-update (MI)
ClosedPublic

Authored by ki.stfu on Mar 6 2015, 8:27 AM.

Details

Summary

This patch includes:

  • Fix -var-create command for global/static variables
  • Fix -var-update command: remove m_strValueName/m_eVarInfoFormat/m_bValueChanged{Array,Composite,Normal}Type; clean CMICmdCmdVarUpdate::Execute and CMICmdCmdVarUpdate::Acknowledge; improve CMICmdCmdVarUpdate::MIFormResponse; Complete the value after -var-create using the CMICmdCmdVarCreate::CompleteSBValue to get SBValue::GetValueDidChange work.
  • Add non-constant version of CMICmnLLDBDebugSessionInfoVarObj::GetValue
  • Add MiVarTestCase.test_lldbmi_var_update test

All tests pass on OS X.

Diff Detail

Repository
rL LLVM

Event Timeline

ki.stfu updated this revision to Diff 21365.Mar 6 2015, 8:27 AM
ki.stfu retitled this revision from to Fix -var-update; Add MiVarTestCase.test_lldbmi_var_update test (MI).
ki.stfu updated this object.
ki.stfu edited the test plan for this revision. (Show Details)
ki.stfu added reviewers: abidh, clayborg, emaste.
ki.stfu added subscribers: abidh, clayborg, emaste, Unknown Object (MLST).
ki.stfu retitled this revision from Fix -var-update; Add MiVarTestCase.test_lldbmi_var_update test (MI) to Fix -var-create and -var-update (MI).Mar 6 2015, 8:33 AM
ki.stfu updated this object.
ki.stfu set the repository for this revision to rL LLVM.
clayborg accepted this revision.Mar 6 2015, 9:38 AM
clayborg edited edge metadata.

Looks good

This revision is now accepted and ready to land.Mar 6 2015, 9:38 AM
ki.stfu updated this revision to Diff 21396.Mar 6 2015, 2:21 PM
ki.stfu edited edge metadata.

Force a value to update after -var-create

ki.stfu updated this object.Mar 6 2015, 2:26 PM
ki.stfu closed this revision.Mar 6 2015, 2:27 PM
This revision was automatically updated to reflect the committed changes.