[all-commits] [llvm/llvm-project] 85fbb0: [lldb/interpreter] Move the history subcommand to ...
Med Ismail Bennani via All-commits
all-commits at lists.llvm.org
Thu Jul 23 04:06:12 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 85fbb08fa2ac5195dc7a2f13eea7de1471da2a21
https://github.com/llvm/llvm-project/commit/85fbb08fa2ac5195dc7a2f13eea7de1471da2a21
Author: Med Ismail Bennani <medismail.bennani at gmail.com>
Date: 2020-07-23 (Thu, 23 Jul 2020)
Changed paths:
M lldb/source/Commands/CommandObjectCommands.cpp
M lldb/source/Commands/CommandObjectSession.cpp
M lldb/source/Interpreter/CommandInterpreter.cpp
R lldb/test/API/commands/command/history/TestCommandHistory.py
A lldb/test/API/commands/session/history/TestSessionHistory.py
Log Message:
-----------
[lldb/interpreter] Move the history subcommand to session (NFCI)
This patch moves the `history` subcommand from the `command` to `session`
command. I think it makes more sense to have it there because as the `command`
usage suggests, it should be used to manage custom LLDB commands.
However, `history` is essentially tied to a debugging session and holds
all the commands (not specifically custom ones).
This also makes it more discoverable by adding an alias for it (mimicking
the shell builtin).
Differential Revision: https://reviews.llvm.org/D84307
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
More information about the All-commits
mailing list