aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
authorGongyu Deng <gy_deng@icloud.com>2020-05-15 08:34:24 +0200
committerRaphael Isemann <teemperor@gmail.com>2020-05-15 09:00:05 +0200
commit7c89297cf7eecd52327915de587df8183793afac (patch)
treeb89c36114237a94ed66d893d222c4753825e6ba7 /lldb/source/Commands/CommandObjectBreakpoint.cpp
parent0e4827aa4e4ae25813f66d3b872db67d93813009 (diff)
downloadllvm-7c89297cf7eecd52327915de587df8183793afac.zip
llvm-7c89297cf7eecd52327915de587df8183793afac.tar.gz
llvm-7c89297cf7eecd52327915de587df8183793afac.tar.bz2
Correct the argument list of command `breakpoint read`
Summary: Command `breakpoint read` should not accept breakpoint ids as arguments, and in fact, it is not implemented to deal with breakpoint id arguments either. So this patch is to correct the argument list of this command so that the help text won't misguide users. Reviewers: teemperor, JDevlieghere, jingham Reviewed By: teemperor, JDevlieghere Tags: #lldb Differential Revision: https://reviews.llvm.org/D79722
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp
index fbd96c2..be7ef8a 100644
--- a/lldb/source/Commands/CommandObjectBreakpoint.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp
@@ -2034,14 +2034,7 @@ public:
"Read and set the breakpoints previously saved to "
"a file with \"breakpoint write\". ",
nullptr),
- m_options() {
- CommandArgumentEntry arg;
- CommandObject::AddIDsArgumentData(arg, eArgTypeBreakpointID,
- eArgTypeBreakpointIDRange);
- // Add the entry for the first argument for this command to the object's
- // arguments vector.
- m_arguments.push_back(arg);
- }
+ m_options() {}
~CommandObjectBreakpointRead() override = default;