[Lldb-commits] [PATCH] D61737: [lldb] add -ex CLI option as alias to --one-line

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 9 11:43:56 PDT 2019


jankratochvil added a comment.

In D61737#1497004 <https://reviews.llvm.org/D61737#1497004>, @teemperor wrote:

> We don't have single dash flags with multiple characters in LLDB


OK, true.

> And there is the bigger question if we really want to be compatible with the GDB flags

Then do you prefer `lldb --gdb -ex 'b foo' -ex r --args prog arg` (like `gdb --dbx`) or a different binary `lldb-gdb -ex 'b foo' -ex r --args prog arg`?

> If we really go this way then I would suggest we also add more commonly used GDB flags like `--args`.

Yes, `--args` is also planned+needed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61737/new/

https://reviews.llvm.org/D61737





More information about the lldb-commits mailing list