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

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 9 13:29:48 PDT 2019

jingham requested changes to this revision.
jingham added a comment.
This revision now requires changes to proceed.

I would rather not clutter up the lldb command driver's options with gdb command flags.  That seems like it will make lldb harder to figure out and reduce our freedom to choose reasonable short names for lldb driver options.

It was reasonable to add lldb aliases for the gdb commands that you use tens to hundreds of times in a give debugging session - those get wired into your hands...  But I don't think the same consideration holds for command line options...

If we feel the need to add a driver gdb compatibility mode like this, I like Rafael's suggestion of:

lldb --gdb <everything after this is handled by our gdb emulation parser>

  rG LLVM Github Monorepo



More information about the lldb-commits mailing list