diff options
Diffstat (limited to 'tools/lldb-mi/MICmdCmdBreak.cpp')
-rw-r--r-- | tools/lldb-mi/MICmdCmdBreak.cpp | 60 |
1 files changed, 3 insertions, 57 deletions
diff --git a/tools/lldb-mi/MICmdCmdBreak.cpp b/tools/lldb-mi/MICmdCmdBreak.cpp index 0e42f8562ab4..1cd0bacf51d5 100644 --- a/tools/lldb-mi/MICmdCmdBreak.cpp +++ b/tools/lldb-mi/MICmdCmdBreak.cpp @@ -1,9 +1,8 @@ //===-- MICmdCmdBreak.cpp ---------------------------------------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// @@ -34,7 +33,6 @@ #include "MICmnStreamStdout.h" //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakInsert constructor. // Type: Method. // Args: None. @@ -58,7 +56,6 @@ CMICmdCmdBreakInsert::CMICmdCmdBreakInsert() } //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakInsert destructor. // Type: Overrideable. // Args: None. @@ -68,7 +65,6 @@ CMICmdCmdBreakInsert::CMICmdCmdBreakInsert() CMICmdCmdBreakInsert::~CMICmdCmdBreakInsert() {} //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The parses the command line // options // arguments to extract values for each of those arguments. @@ -105,7 +101,6 @@ bool CMICmdCmdBreakInsert::ParseArgs() { } //++ -//------------------------------------------------------------------------------------ // Helper function for CMICmdCmdBreakInsert::Execute(). // // Given a string, return the position of the ':' separator in 'file:func' @@ -123,7 +118,6 @@ static size_t findFileSeparatorPos(const std::string &x) { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command does work in this // function. // The command is likely to communicate with the LLDB SBDebugger in @@ -324,7 +318,6 @@ bool CMICmdCmdBreakInsert::Execute() { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command prepares a MI Record // Result // for the work carried out in the Execute(). @@ -360,7 +353,6 @@ bool CMICmdCmdBreakInsert::Acknowledge() { } //++ -//------------------------------------------------------------------------------------ // Details: Required by the CMICmdFactory when registering *this command. The // factory // calls this function to create an instance of *this command. @@ -373,12 +365,8 @@ CMICmdBase *CMICmdCmdBreakInsert::CreateSelf() { return new CMICmdCmdBreakInsert(); } -//--------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------- //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakDelete constructor. // Type: Method. // Args: None. @@ -395,7 +383,6 @@ CMICmdCmdBreakDelete::CMICmdCmdBreakDelete() } //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakDelete destructor. // Type: Overrideable. // Args: None. @@ -405,7 +392,6 @@ CMICmdCmdBreakDelete::CMICmdCmdBreakDelete() CMICmdCmdBreakDelete::~CMICmdCmdBreakDelete() {} //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The parses the command line // options // arguments to extract values for each of those arguments. @@ -423,7 +409,6 @@ bool CMICmdCmdBreakDelete::ParseArgs() { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command does work in this // function. // The command is likely to communicate with the LLDB SBDebugger in @@ -462,7 +447,6 @@ bool CMICmdCmdBreakDelete::Execute() { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command prepares a MI Record // Result // for the work carried out in the Execute(). @@ -481,7 +465,6 @@ bool CMICmdCmdBreakDelete::Acknowledge() { } //++ -//------------------------------------------------------------------------------------ // Details: Required by the CMICmdFactory when registering *this command. The // factory // calls this function to create an instance of *this command. @@ -494,12 +477,8 @@ CMICmdBase *CMICmdCmdBreakDelete::CreateSelf() { return new CMICmdCmdBreakDelete(); } -//--------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------- //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakDisable constructor. // Type: Method. // Args: None. @@ -517,7 +496,6 @@ CMICmdCmdBreakDisable::CMICmdCmdBreakDisable() } //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakDisable destructor. // Type: Overrideable. // Args: None. @@ -527,7 +505,6 @@ CMICmdCmdBreakDisable::CMICmdCmdBreakDisable() CMICmdCmdBreakDisable::~CMICmdCmdBreakDisable() {} //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The parses the command line // options // arguments to extract values for each of those arguments. @@ -545,7 +522,6 @@ bool CMICmdCmdBreakDisable::ParseArgs() { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command does work in this // function. // The command is likely to communicate with the LLDB SBDebugger in @@ -582,7 +558,6 @@ bool CMICmdCmdBreakDisable::Execute() { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command prepares a MI Record // Result // for the work carried out in the Execute(). @@ -613,7 +588,6 @@ bool CMICmdCmdBreakDisable::Acknowledge() { } //++ -//------------------------------------------------------------------------------------ // Details: Required by the CMICmdFactory when registering *this command. The // factory // calls this function to create an instance of *this command. @@ -626,12 +600,8 @@ CMICmdBase *CMICmdCmdBreakDisable::CreateSelf() { return new CMICmdCmdBreakDisable(); } -//--------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------- //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakEnable constructor. // Type: Method. // Args: None. @@ -649,7 +619,6 @@ CMICmdCmdBreakEnable::CMICmdCmdBreakEnable() } //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakEnable destructor. // Type: Overrideable. // Args: None. @@ -659,7 +628,6 @@ CMICmdCmdBreakEnable::CMICmdCmdBreakEnable() CMICmdCmdBreakEnable::~CMICmdCmdBreakEnable() {} //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The parses the command line // options // arguments to extract values for each of those arguments. @@ -677,7 +645,6 @@ bool CMICmdCmdBreakEnable::ParseArgs() { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command does work in this // function. // The command is likely to communicate with the LLDB SBDebugger in @@ -714,7 +681,6 @@ bool CMICmdCmdBreakEnable::Execute() { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command prepares a MI Record // Result // for the work carried out in the Execute(). @@ -745,7 +711,6 @@ bool CMICmdCmdBreakEnable::Acknowledge() { } //++ -//------------------------------------------------------------------------------------ // Details: Required by the CMICmdFactory when registering *this command. The // factory // calls this function to create an instance of *this command. @@ -758,12 +723,8 @@ CMICmdBase *CMICmdCmdBreakEnable::CreateSelf() { return new CMICmdCmdBreakEnable(); } -//--------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------- //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakAfter constructor. // Type: Method. // Args: None. @@ -781,7 +742,6 @@ CMICmdCmdBreakAfter::CMICmdCmdBreakAfter() } //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakAfter destructor. // Type: Overrideable. // Args: None. @@ -791,7 +751,6 @@ CMICmdCmdBreakAfter::CMICmdCmdBreakAfter() CMICmdCmdBreakAfter::~CMICmdCmdBreakAfter() {} //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The parses the command line // options // arguments to extract values for each of those arguments. @@ -809,7 +768,6 @@ bool CMICmdCmdBreakAfter::ParseArgs() { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command does work in this // function. // The command is likely to communicate with the LLDB SBDebugger in @@ -855,7 +813,6 @@ bool CMICmdCmdBreakAfter::Execute() { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command prepares a MI Record // Result // for the work carried out in the Execute(). @@ -874,7 +831,6 @@ bool CMICmdCmdBreakAfter::Acknowledge() { } //++ -//------------------------------------------------------------------------------------ // Details: Required by the CMICmdFactory when registering *this command. The // factory // calls this function to create an instance of *this command. @@ -887,12 +843,8 @@ CMICmdBase *CMICmdCmdBreakAfter::CreateSelf() { return new CMICmdCmdBreakAfter(); } -//--------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------- //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakCondition constructor. // Type: Method. // Args: None. @@ -915,7 +867,6 @@ CMICmdCmdBreakCondition::CMICmdCmdBreakCondition() } //++ -//------------------------------------------------------------------------------------ // Details: CMICmdCmdBreakCondition destructor. // Type: Overrideable. // Args: None. @@ -925,7 +876,6 @@ CMICmdCmdBreakCondition::CMICmdCmdBreakCondition() CMICmdCmdBreakCondition::~CMICmdCmdBreakCondition() {} //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The parses the command line // options // arguments to extract values for each of those arguments. @@ -947,7 +897,6 @@ bool CMICmdCmdBreakCondition::ParseArgs() { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command does work in this // function. // The command is likely to communicate with the LLDB SBDebugger in @@ -994,7 +943,6 @@ bool CMICmdCmdBreakCondition::Execute() { } //++ -//------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command prepares a MI Record // Result // for the work carried out in the Execute(). @@ -1013,7 +961,6 @@ bool CMICmdCmdBreakCondition::Acknowledge() { } //++ -//------------------------------------------------------------------------------------ // Details: Required by the CMICmdFactory when registering *this command. The // factory // calls this function to create an instance of *this command. @@ -1027,7 +974,6 @@ CMICmdBase *CMICmdCmdBreakCondition::CreateSelf() { } //++ -//------------------------------------------------------------------------------------ // Details: A breakpoint expression can be passed to *this command as: // a single string i.e. '2' -> ok. // a quoted string i.e. "a > 100" -> ok |