[Lldb-commits] [PATCH] D49963: Preliminary patch to support prompt interpolation

2018-08-06 Thread Neal via Phabricator via lldb-commits
nealsid added a comment. In https://reviews.llvm.org/D49963#1183036, @clayborg wrote: > This will be very cool. Biggest issues to watch out for is to make sure it > doesn't return incorrect values when running for things like the thread > count. If you switch to use the > "m_debugger.GetComman

[Lldb-commits] [PATCH] D49963: Preliminary patch to support prompt interpolation

2018-08-03 Thread Neal via Phabricator via lldb-commits
nealsid accepted this revision. nealsid added inline comments. This revision is now accepted and ready to land. Comment at: include/lldb/Host/Editline.h:187 + /// Register a callback to retrieve the prompt. + void SetPromptCallback(PromptCallbackType callback, void *baton); +

[Lldb-commits] [PATCH] D49963: Preliminary patch to support prompt interpolation

2018-08-01 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. Sounds like a nice feature to have. In addition to the other feedback you've received, I'd suggest splitting out the addition of new format entities (frame count and friends) and the core interpolation feature into separate patches. Repository: rL LLVM https://review

[Lldb-commits] [PATCH] D49963: Preliminary patch to support prompt interpolation

2018-07-31 Thread Greg Clayton via Phabricator via lldb-commits
clayborg added a comment. This will be very cool. Biggest issues to watch out for is to make sure it doesn't return incorrect values when running for things like the thread count. If you switch to use the "m_debugger.GetCommandInterpreter().GetExecutionContext()" it should solve this by making

[Lldb-commits] [PATCH] D49963: Preliminary patch to support prompt interpolation

2018-07-31 Thread Zachary Turner via Phabricator via lldb-commits
zturner added reviewers: labath, jasonmolenda. zturner added inline comments. Comment at: include/lldb/Host/Editline.h:187 + /// Register a callback to retrieve the prompt. + void SetPromptCallback(PromptCallbackType callback, void *baton); + I'd love to stop