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 certain 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 --start option for -exec-run command, if feature supported on chosen host and/or target. For checking if --start option supported corresponding feature "exec-run-start-option" added to the list of options reported by -list-features command.
Example:
-list-features ^done,features=["data-read-memory-bytes","exec-run-start-option"] (gdb) -exec-run --start ...
This is optional addition, but may be useful for some developers.