Skip to content

Commit f8c380e

Browse files
authored
Merge pull request #1293 from JDevlieghere/correct-man-page
[Docs] Correct description of lldbinit behavior
2 parents a3ff3d4 + c4703fe commit f8c380e

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

lldb/docs/man/lldb.rst

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -296,13 +296,17 @@ CONFIGURATION FILES
296296
-------------------
297297

298298
:program:`lldb` reads things like settings, aliases and commands from the
299-
.lldbinit file. First, it will read the application specific init file whose
300-
name is ~/.lldbinit followed by a "-" and the name of the current program. This
301-
would be ~/.lldbinit-lldb for the command line :program:`lldb` and
302-
~/.lldbinit-Xcode for Xcode. Secondly, the global ~/.lldbinit will be read.
303-
Finally, :program:`lldb` will look for an .lldbinit file in the current working
304-
directory. For security reasons, :program:`lldb` will print a warning and not
305-
source this file by default. This behavior can be changed by changing the
299+
.lldbinit file.
300+
301+
First, it will read the application specific init file whose name is
302+
~/.lldbinit followed by a "-" and the name of the current program. This would
303+
be ~/.lldbinit-lldb for the command line :program:`lldb` and ~/.lldbinit-Xcode
304+
for Xcode. If there is no application specific init file, the global
305+
~/.lldbinit is read.
306+
307+
Secondly, it will look for an .lldbinit file in the current working directory.
308+
For security reasons, :program:`lldb` will print a warning and not source this
309+
file by default. This behavior can be changed by changing the
306310
target.load-cwd-lldbinit setting.
307311

308312
To always load the .lldbinit file in the current working directory, add the

0 commit comments

Comments
 (0)