I looking at bug 22968 <https://llvm.org/bugs/show_bug.cgi?id=22968> and
trying to figure out if there's a bug here or not.

The `run` command alias ends with `--`, so there doesn't seem to be a way
to specify options when using the alias.  For example, if you do:

    (lldb) run -s

That's treated as though you wrote:

    (lldb) process launch -c<shell-path> -- -s

The `-s` argument is placed after the `--`, which causes it to be passed on
to the inferior and not treated as an option to the `process launch`
command.  That's consistent but possibly surprising behavior.  If you
wanted the `-s` on the command, you'd have to spell it out explicitly:

    (lldb) process launch -c<shell-path> -s

Should there be an alias that doesn't end in `--`?

Thanks,
Adrian McCarthy
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to