I looking at bug 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 – -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 -s
Should there be an alias that doesn’t end in --
?
Thanks,
Adrian McCarthy