[Lldb-commits] [PATCH] D12977: LLDB MI addition for getting process stopped at first instruction right after launch via -exec-run
Kirill Lapshin via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 18 10:48:11 PDT 2015
KLapshin created this revision.
KLapshin added reviewers: dawn, ki.stfu, abidh.
KLapshin added a subscriber: lldb-commits.
KLapshin set the repository for this revision to rL LLVM.
In some cases debugger user may want to get debugged process stopped at very early point - at first instruction.
With lldb command line interpreter this may be done easily with exisiting option to "process launch" command:
process launch -s
Currently, if lldb-mi user want to use pure MI only - important for IDEs - there is no possibility to run debugged process and getting it stopped right on first instruction.
This patch is implementation of such option with additional boolean flag set by -gdb-set and launch program in -exec-run handler with checking this flag.
-gdb-set/show option, patch for -exec-run handler and lldb-mi tests for added -gdb-set/show option.
Example:
-gdb-set process-stopatentry on/off
-exec-run
...
Repository:
rL LLVM
http://reviews.llvm.org/D12977
Files:
test/tools/lldb-mi/TestMiGdbSetShow.py
tools/lldb-mi/MICmdCmdExec.cpp
tools/lldb-mi/MICmdCmdGdbSet.cpp
tools/lldb-mi/MICmdCmdGdbSet.h
tools/lldb-mi/MICmdCmdGdbShow.cpp
tools/lldb-mi/MICmdCmdGdbShow.h
tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp
tools/lldb-mi/MICmnLLDBDebugSessionInfo.h
tools/lldb-mi/MICmnResources.cpp
tools/lldb-mi/MICmnResources.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12977.35107.patch
Type: text/x-patch
Size: 13492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150918/1cfb5220/attachment-0001.bin>
More information about the lldb-commits
mailing list