KLapshin added a comment.

In http://reviews.llvm.org/D12977#249437, @enlight wrote:

> According to the GDB-MI spec the exec-run 
> <https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Program-Execution.html#GDB_002fMI-Program-Execution>
>  command already has a **start** option. Support for the **start** option can 
> be detected by checking for **exec-run-start-option** in the list of features 
> returned by the list-features 
> <https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Support-Commands.html#GDB_002fMI-Support-Commands>
>  command. So, what's the rationale for diverging from the spec in this case?
>
> In GDB your example would be written as:
>  -exec-run --start


Fully agreed.

At same time - this option is relatively new, was not present in older GDBs. 
For example - GDB used in Xcode before switch to lldb just do stop at 
_dyld_start unconditionally always, no option.

Thanks for review, patch will be changed.


Repository:
  rL LLVM

http://reviews.llvm.org/D12977



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to