[Lldb-commits] [PATCH] D48775: Add new SBTarget::IsDummy method.

2018-07-02 Thread Alexander Polyakov via Phabricator via lldb-commits
apolyakov abandoned this revision. apolyakov added a comment. Abandoned since suggested functionality is optional. https://reviews.llvm.org/D48775 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listin

[Lldb-commits] [PATCH] D48775: Add new SBTarget::IsDummy method.

2018-07-02 Thread Adrian Prantl via Phabricator via lldb-commits
aprantl added a comment. Okay then let's not do this for now. It's fine to revisit this later if there turns out to be a good use-case for it, but every SBAPI call we introduce has to be supported indefinitely and can therefore be quite expensive to maintain. https://reviews.llvm.org/D48775

[Lldb-commits] [PATCH] D48775: Add new SBTarget::IsDummy method.

2018-07-02 Thread Alexander Polyakov via Phabricator via lldb-commits
apolyakov added a comment. It's hard to choose something, both variants are good enough. But, if there is no necessity in such a method, we can drop it. https://reviews.llvm.org/D48775 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http:

[Lldb-commits] [PATCH] D48775: Add new SBTarget::IsDummy method.

2018-07-02 Thread Adrian Prantl via Phabricator via lldb-commits
aprantl added a comment. Have you seen my earlier question: > Is the dummy target something we need to expose over the SBAPI? > I see that other places in lldb-mi query if (sbTarget == > rSessionInfo.GetDebugger().GetDummyTarget()). > Would that be sufficient? https://reviews.llvm.org/D4877

[Lldb-commits] [PATCH] D48775: Add new SBTarget::IsDummy method.

2018-07-02 Thread Alexander Polyakov via Phabricator via lldb-commits
apolyakov added a comment. I think we can remove comments added by me and commit patch as it is. Any thoughts about it? https://reviews.llvm.org/D48775 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/

[Lldb-commits] [PATCH] D48775: Add new SBTarget::IsDummy method.

2018-06-29 Thread Adrian Prantl via Phabricator via lldb-commits
aprantl added a comment. Is the dummy target something we need to expose over the SBAPI? I see that other places in lldb-mi query `if (sbTarget == rSessionInfo.GetDebugger().GetDummyTarget())`. Would that be sufficient? https://reviews.llvm.org/D48775 ___

[Lldb-commits] [PATCH] D48775: Add new SBTarget::IsDummy method.

2018-06-29 Thread Alexander Polyakov via Phabricator via lldb-commits
apolyakov updated this revision to Diff 153516. apolyakov edited the summary of this revision. apolyakov added a comment. Added description to source files and commit message. https://reviews.llvm.org/D48775 Files: include/lldb/API/SBTarget.h scripts/interface/SBTarget.i source/API/SBTarg

[Lldb-commits] [PATCH] D48775: Add new SBTarget::IsDummy method.

2018-06-29 Thread Bruce Mitchener via Phabricator via lldb-commits
brucem requested changes to this revision. brucem added inline comments. This revision now requires changes to proceed. Comment at: include/lldb/API/SBTarget.h:65 + bool IsDummy() const; + Could you add a doc comment here explaining it? Comm

[Lldb-commits] [PATCH] D48775: Add new SBTarget::IsDummy method.

2018-06-29 Thread Alexander Polyakov via Phabricator via lldb-commits
apolyakov created this revision. apolyakov added reviewers: aprantl, clayborg. The new member function allows to check if a target is dummy or real. https://reviews.llvm.org/D48775 Files: include/lldb/API/SBTarget.h scripts/interface/SBTarget.i source/API/SBTarget.cpp Index: source/API/