[Lldb-commits] [PATCH] D70514: [Docs] Generate the LLDB man page with Sphinx

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 20 15:57:57 PST 2019


jingham added inline comments.


================
Comment at: lldb/docs/man/lldb.rst:306
+started) will be read.
+
+SEE ALSO
----------------
This isn't quite right.  The actual rule is:

If the lldb library is loaded into an executable called Foo, lldb will first look for ~/.lldbinit-Foo, and if that exists will load and otherwise it will fall back on ~/.lldbinit.  That goes for any executable.

Also, if we find ~/.lldbinit-<EXECUTABLE> we don't read the ~/.lldbinit.

There is special handling for Xcode, because when using Xcode the lldb library is actually loaded into a binary called lldb-rpc-server.  So there's a little hack where IF the program happens to be lldb-rpc-server, we try .lldbinit-Xcode.


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D70514





More information about the lldb-commits mailing list