labath added a comment. Selecting the option parsing mode explicitly sounds like the way to go to me too. I'm wondering if we should call it `--driver-mode=gdb` to match the equivalent functionality in clang. Having a symlink (lldb-gdb or whatever) which automatically selects "gdb" as the "driver mode" also sounds reasonable.
> lldb --gdb <everything after this is handled by our gdb emulation parser> I wouldn't make this positional because clang's --driver-mode arg also isn't positional (it applies to the whole command line, even args that come before it). Also making this positional would open the door to having both kinds of options present at once, which is going to make parsing a lot more complicated (and it probably wouldn't be a very useful feature anyway). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61737/new/ https://reviews.llvm.org/D61737 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits