[Lldb-commits] [lldb] 40c4eca - [lldb/Docs] Add the application speicfic lldbinit to the man page

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue May 26 17:34:16 PDT 2020


Author: Jonas Devlieghere
Date: 2020-05-26T17:34:09-07:00
New Revision: 40c4ecabc238cfdd639bc1e927800337457e69e3

URL: https://github.com/llvm/llvm-project/commit/40c4ecabc238cfdd639bc1e927800337457e69e3
DIFF: https://github.com/llvm/llvm-project/commit/40c4ecabc238cfdd639bc1e927800337457e69e3.diff

LOG: [lldb/Docs] Add the application speicfic lldbinit to the man page

This used to be part of the man page but got lost when we moved to
generating it with Sphinx.

Added: 
    

Modified: 
    lldb/docs/man/lldb.rst

Removed: 
    


################################################################################
diff  --git a/lldb/docs/man/lldb.rst b/lldb/docs/man/lldb.rst
index a3a0736680ad..842a693f4751 100644
--- a/lldb/docs/man/lldb.rst
+++ b/lldb/docs/man/lldb.rst
@@ -303,10 +303,13 @@ CONFIGURATION FILES
 -------------------
 
 :program:`lldb` reads things like settings, aliases and commands from the
-.lldbinit file. It will first look for ~/.lldbinit and load that first.
-Secondly, it will look for an .lldbinit file in the current working directory.
-For security reasons, :program:`lldb` will print a warning and not source this
-file by default. This behavior can be changed by changing the
+.lldbinit file. First, it will read the application specific init file whose
+name is ~/.lldbinit followed by a "-" and the name of the current program. This
+would be ~/.lldbinit-lldb for the command line :program:`lldb` and
+~/.lldbinit-Xcode for Xcode. Secondly, the global ~/.lldbinit will be read.
+Finally, :program:`lldb` will look for an .lldbinit file in the current working
+directory. For security reasons, :program:`lldb` will print a warning and not
+source this file by default. This behavior can be changed by changing the
 target.load-cwd-lldbinit setting.
 
 To always load the .lldbinit file in the current working directory, add the


        


More information about the lldb-commits mailing list