diff options
| author | Jim Ingham <jingham@apple.com> | 2011-01-21 22:13:25 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2011-01-21 22:13:25 +0000 |
| commit | 8f3432c91698113e6eca52c01d37bdfd117edd0d (patch) | |
| tree | 5baf65eccba1cc417afcb8bff32fc4966c6be032 /lldb/source/Commands/CommandObjectBreakpointCommand.cpp | |
| parent | 19e30d5a7d3369feae36cbe7f4f4c1f358881c41 (diff) | |
| download | llvm-8f3432c91698113e6eca52c01d37bdfd117edd0d.zip llvm-8f3432c91698113e6eca52c01d37bdfd117edd0d.tar.gz llvm-8f3432c91698113e6eca52c01d37bdfd117edd0d.tar.bz2 | |
The code to check whether the number of arguments was 0 was not necessary, VerifyBreakpointIDs will turn an empty argument into the last specified breakpoint.
llvm-svn: 124000
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
| -rw-r--r-- | lldb/source/Commands/CommandObjectBreakpointCommand.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp index aad7158..c706bb5 100644 --- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp +++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp @@ -282,13 +282,6 @@ CommandObjectBreakpointCommandAdd::Execute return false; } - if (command.GetArgumentCount() == 0) - { - result.AppendError ("No breakpoint specified to which to add the commands"); - result.SetStatus (eReturnStatusFailed); - return false; - } - BreakpointIDList valid_bp_ids; CommandObjectMultiwordBreakpoint::VerifyBreakpointIDs (command, target, result, &valid_bp_ids); |
