apolyakov added a comment.
[WIP] Fully test `-exec-interrupt` command. It needs a program being executed
at the moment of debugging to stop it.
https://reviews.llvm.org/D48520
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.l
apolyakov created this revision.
apolyakov added reviewers: aprantl, clayborg.
Herald added a subscriber: ki.stfu.
This patch updates exec-next-instruction, exec-step-instruction, exec-finish,
exec-interrupt commands to use SB API instead of HandleCommand.
https://reviews.llvm.org/D48520
Files
apolyakov updated this revision to Diff 152589.
apolyakov added a comment.
Removed accidentally added comment, added `const` qualifier to lambdas.
https://reviews.llvm.org/D47992
Files:
tools/lldb-mi/MICmdCmdExec.cpp
tools/lldb-mi/MICmdCmdExec.h
Index: tools/lldb-mi/MICmdCmdExec.h
apolyakov added inline comments.
Comment at: tools/lldb-mi/MICmdCmdExec.cpp:137
+ auto successHandler = [this] {
+// CODETAG_DEBUG_SESSION_RUNNING_PROG_RECEIVED_SIGINT_PAUSE_PROGRAM
+if (!CMIDriver::Instance().SetDriverStateRunningDebugging()) {
aprantl