diff options
author | Caroline Tice <ctice@apple.com> | 2011-05-22 07:14:46 +0000 |
---|---|---|
committer | Caroline Tice <ctice@apple.com> | 2011-05-22 07:14:46 +0000 |
commit | 93e0f19f1d64feea12bb51f96fdf47a7ab7557d9 (patch) | |
tree | 20745a80408702d2e3c15cc426cd0786b9f8c673 /lldb/source/Commands/CommandObjectBreakpointCommand.cpp | |
parent | f0d59072de69bcfd472827bcc687707ade3c960b (diff) | |
download | bcm5719-llvm-93e0f19f1d64feea12bb51f96fdf47a7ab7557d9.tar.gz bcm5719-llvm-93e0f19f1d64feea12bb51f96fdf47a7ab7557d9.zip |
Change the command 'breakpoint command remove' to 'breakpoint command delete',
to be more consistent with other commands.
llvm-svn: 131848
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectBreakpointCommand.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp index de725a65046..f047555bce7 100644 --- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp +++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp @@ -520,13 +520,13 @@ CommandObjectBreakpointCommandAdd::GenerateBreakpointCommandCallback //------------------------------------------------------------------------- -// CommandObjectBreakpointCommandRemove +// CommandObjectBreakpointCommandDelete //------------------------------------------------------------------------- -CommandObjectBreakpointCommandRemove::CommandObjectBreakpointCommandRemove (CommandInterpreter &interpreter) : +CommandObjectBreakpointCommandDelete::CommandObjectBreakpointCommandDelete (CommandInterpreter &interpreter) : CommandObject (interpreter, - "remove", - "Remove the set of commands from a breakpoint.", + "delete", + "Delete the set of commands from a breakpoint.", NULL) { CommandArgumentEntry arg; @@ -543,12 +543,12 @@ CommandObjectBreakpointCommandRemove::CommandObjectBreakpointCommandRemove (Comm m_arguments.push_back (arg); } -CommandObjectBreakpointCommandRemove::~CommandObjectBreakpointCommandRemove () +CommandObjectBreakpointCommandDelete::~CommandObjectBreakpointCommandDelete () { } bool -CommandObjectBreakpointCommandRemove::Execute +CommandObjectBreakpointCommandDelete::Execute ( Args& command, CommandReturnObject &result @@ -558,7 +558,7 @@ CommandObjectBreakpointCommandRemove::Execute if (target == NULL) { - result.AppendError ("There is not a current executable; there are no breakpoints from which to remove commands"); + result.AppendError ("There is not a current executable; there are no breakpoints from which to delete commands"); result.SetStatus (eReturnStatusFailed); return false; } @@ -568,14 +568,14 @@ CommandObjectBreakpointCommandRemove::Execute if (num_breakpoints == 0) { - result.AppendError ("No breakpoints exist to have commands removed"); + result.AppendError ("No breakpoints exist to have commands deleted"); result.SetStatus (eReturnStatusFailed); return false; } if (command.GetArgumentCount() == 0) { - result.AppendError ("No breakpoint specified from which to remove the commands"); + result.AppendError ("No breakpoint specified from which to delete the commands"); result.SetStatus (eReturnStatusFailed); return false; } @@ -760,15 +760,15 @@ CommandObjectBreakpointCommand::CommandObjectBreakpointCommand (CommandInterpret { bool status; CommandObjectSP add_command_object (new CommandObjectBreakpointCommandAdd (interpreter)); - CommandObjectSP remove_command_object (new CommandObjectBreakpointCommandRemove (interpreter)); + CommandObjectSP delete_command_object (new CommandObjectBreakpointCommandDelete (interpreter)); CommandObjectSP list_command_object (new CommandObjectBreakpointCommandList (interpreter)); add_command_object->SetCommandName ("breakpoint command add"); - remove_command_object->SetCommandName ("breakpoint command remove"); + delete_command_object->SetCommandName ("breakpoint command delete"); list_command_object->SetCommandName ("breakpoint command list"); status = LoadSubCommand ("add", add_command_object); - status = LoadSubCommand ("remove", remove_command_object); + status = LoadSubCommand ("delete", delete_command_object); status = LoadSubCommand ("list", list_command_object); } |