Author: brucem Date: Tue Jul 7 09:04:40 2015 New Revision: 241585 URL: http://llvm.org/viewvc/llvm-project?rev=241585&view=rev Log: [lldb-mi] Fix typos
Modified: lldb/trunk/tools/lldb-mi/MICmdArgSet.h lldb/trunk/tools/lldb-mi/MICmdBase.cpp lldb/trunk/tools/lldb-mi/MICmdBase.h lldb/trunk/tools/lldb-mi/MICmdCmdBreak.cpp lldb/trunk/tools/lldb-mi/MICmdCmdFile.h lldb/trunk/tools/lldb-mi/MICmdCmdMiscellanous.cpp lldb/trunk/tools/lldb-mi/MICmdFactory.cpp lldb/trunk/tools/lldb-mi/MICmdInvoker.cpp lldb/trunk/tools/lldb-mi/MICmdInvoker.h lldb/trunk/tools/lldb-mi/MICmdMgr.cpp lldb/trunk/tools/lldb-mi/MICmnBase.cpp lldb/trunk/tools/lldb-mi/MICmnLLDBBroadcaster.cpp lldb/trunk/tools/lldb-mi/MICmnLLDBBroadcaster.h lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfo.h lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfoVarObj.cpp lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfoVarObj.h lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.cpp lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.h lldb/trunk/tools/lldb-mi/MICmnLLDBUtilSBValue.cpp lldb/trunk/tools/lldb-mi/MICmnLLDBUtilSBValue.h lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp lldb/trunk/tools/lldb-mi/MICmnMIValueList.cpp lldb/trunk/tools/lldb-mi/MICmnResources.cpp lldb/trunk/tools/lldb-mi/MICmnStreamStderr.cpp lldb/trunk/tools/lldb-mi/MICmnStreamStdout.cpp lldb/trunk/tools/lldb-mi/MIDriver.cpp lldb/trunk/tools/lldb-mi/MIDriverBase.cpp lldb/trunk/tools/lldb-mi/MIDriverMain.cpp lldb/trunk/tools/lldb-mi/MIUtilMapIdToVariant.h lldb/trunk/tools/lldb-mi/MIUtilSingletonHelper.h lldb/trunk/tools/lldb-mi/MIUtilString.h lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.cpp lldb/trunk/tools/lldb-mi/MIUtilSystemOsx.cpp lldb/trunk/tools/lldb-mi/MIUtilSystemWindows.cpp lldb/trunk/tools/lldb-mi/MIUtilThreadBaseStd.cpp Modified: lldb/trunk/tools/lldb-mi/MICmdArgSet.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdArgSet.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmdArgSet.h (original) +++ lldb/trunk/tools/lldb-mi/MICmdArgSet.h Tue Jul 7 09:04:40 2015 @@ -28,7 +28,7 @@ class CMICmdArgValBase; // Argument objects added to *this container are owned by this container // and are deleted when this container goes out of scope. Allocate argument // objects on the heap. -// It is assummed the arguments to be parsed are read from left to right in +// It is assumed the arguments to be parsed are read from left to right in // order. The order added to *this container is the order they will parsed. // Gotchas: None. // Authors: Illya Rudkin 14/04/2014. Modified: lldb/trunk/tools/lldb-mi/MICmdBase.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdBase.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmdBase.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmdBase.cpp Tue Jul 7 09:04:40 2015 @@ -69,7 +69,7 @@ CMICmdBase::GetErrorDescription(void) co // options description string. // Type: Overridden. // Args: None. -// Return: CMIUtilString & - Command decription. +// Return: CMIUtilString & - Command description. // Throws: None. //-- const CMIUtilString & @@ -141,7 +141,7 @@ CMICmdBase::GetMIResultRecord(void) cons //++ ------------------------------------------------------------------------------------ // Details: Retrieve from the command additional MI result to its 1 line response. -// Because of using LLDB addtional 'fake'/hack output is sometimes required to +// Because of using LLDB additional 'fake'/hack output is sometimes required to // help the driver client operate i.e. Eclipse. // Type: Overridden. // Args: None. @@ -156,7 +156,7 @@ CMICmdBase::GetMIResultRecordExtra(void) //++ ------------------------------------------------------------------------------------ // Details: Hss *this command got additional MI result to its 1 line response. -// Because of using LLDB addtional 'fake'/hack output is sometimes required to +// Because of using LLDB additional 'fake'/hack output is sometimes required to // help the driver client operate i.e. Eclipse. // Type: Overridden. // Args: None. Modified: lldb/trunk/tools/lldb-mi/MICmdBase.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdBase.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmdBase.h (original) +++ lldb/trunk/tools/lldb-mi/MICmdBase.h Tue Jul 7 09:04:40 2015 @@ -25,7 +25,7 @@ class CMICmnLLDBDebugSessionInfo; //++ ============================================================================ // Details: MI command base class. MI commands derive from this base class. // The Command Factory creates command objects and passes them to the -// Command Invoker. The Invoker takes ownersip of any commands created +// Command Invoker. The Invoker takes ownership of any commands created // which means it is the only object to delete them when a command is // finished working. Commands do not delete themselves. // There are two types of command implicitly defined by the state of Modified: lldb/trunk/tools/lldb-mi/MICmdCmdBreak.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdCmdBreak.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmdCmdBreak.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmdCmdBreak.cpp Tue Jul 7 09:04:40 2015 @@ -1009,7 +1009,7 @@ CMICmdCmdBreakCondition::CreateSelf(void // a single string i.e. '2' -> ok. // a quoted string i.e. "a > 100" -> ok // a non quoted string i.e. 'a > 100' -> not ok -// CMICmdArgValString only extracts the first space seperated string, the "a". +// CMICmdArgValString only extracts the first space separated string, the "a". // This function using the optional argument type CMICmdArgValListOfN collects // the rest of the expression so that is may be added to the 'a' part to form a // complete expression string i.e. "a > 100". Modified: lldb/trunk/tools/lldb-mi/MICmdCmdFile.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdCmdFile.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmdCmdFile.h (original) +++ lldb/trunk/tools/lldb-mi/MICmdCmdFile.h Tue Jul 7 09:04:40 2015 @@ -29,7 +29,7 @@ // Details: MI command class. MI commands derived from the command base class. // *this class implements MI command "file-exec-and-symbols". // This command does not follow the MI documentation exactly. -// Gotchas: This command has additonal flags that were not available in GDB MI. +// Gotchas: This command has additional flags that were not available in GDB MI. // See MIextensions.txt for details. // Authors: Illya Rudkin 25/02/2014. // Changes: None. Modified: lldb/trunk/tools/lldb-mi/MICmdCmdMiscellanous.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdCmdMiscellanous.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmdCmdMiscellanous.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmdCmdMiscellanous.cpp Tue Jul 7 09:04:40 2015 @@ -184,7 +184,7 @@ CMICmdCmdListThreadGroups::ParseArgs(voi //++ ------------------------------------------------------------------------------------ // Details: The invoker requires this function. The command does work in this function. // The command is likely to communicate with the LLDB SBDebugger in here. -// Synopis: -list-thread-groups [ --available ] [ --recurse 1 ] [ group ... ] +// Synopsis: -list-thread-groups [ --available ] [ --recurse 1 ] [ group ... ] // This command does not follow the MI documentation exactly. Has an extra // argument "i1" to handle. // Ref: Modified: lldb/trunk/tools/lldb-mi/MICmdFactory.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdFactory.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmdFactory.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmdFactory.cpp Tue Jul 7 09:04:40 2015 @@ -85,7 +85,7 @@ CMICmdFactory::Shutdown(void) } //++ ------------------------------------------------------------------------------------ -// Details: Register a command's creator function with the command identitier the MI +// Details: Register a command's creator function with the command identifier the MI // command name i.e. 'file-exec-and-symbols'. // Type: Method. // Args: vMiCmd - (R) Command's name, the MI command. Modified: lldb/trunk/tools/lldb-mi/MICmdInvoker.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdInvoker.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmdInvoker.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmdInvoker.cpp Tue Jul 7 09:04:40 2015 @@ -176,7 +176,7 @@ CMICmdInvoker::CmdAdd(const CMICmdBase & //++ ------------------------------------------------------------------------------------ // Details: Having previously had the potential command validated and found valid now // get the command executed. -// If the Functionalityity returns MIstatus::failure call GetErrorDescription(). +// If the Functionality returns MIstatus::failure call GetErrorDescription(). // This function is used by the application's main thread. // Type: Method. // Args: vCmd - (RW) Command object. @@ -220,7 +220,7 @@ CMICmdInvoker::CmdExecute(CMICmdBase &vC //++ ------------------------------------------------------------------------------------ // Details: Called when a command has finished its Execution() work either synchronously -// because the command executed was the type a non event type or asynchronoulsy +// because the command executed was the type a non event type or asynchronously // via the command's callback (because of an SB Listener event). Needs to be called // so that *this invoker call do some house keeping and then proceed to call // the command's Acknowledge() function. Modified: lldb/trunk/tools/lldb-mi/MICmdInvoker.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdInvoker.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmdInvoker.h (original) +++ lldb/trunk/tools/lldb-mi/MICmdInvoker.h Tue Jul 7 09:04:40 2015 @@ -33,7 +33,7 @@ class CMICmnStreamStdout; // exceed a time limit which if it exceeds informs the command(s) to // stop work. // The work by the Invoker is carried out in the main thread. -// The Invoker takes ownersip of any commands created which means it +// The Invoker takes ownership of any commands created which means it // is the only object to delete them when a command is finished working. // A singleton class. // Gotchas: None. Modified: lldb/trunk/tools/lldb-mi/MICmdMgr.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdMgr.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmdMgr.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmdMgr.cpp Tue Jul 7 09:04:40 2015 @@ -170,7 +170,7 @@ CMICmdMgr::CmdInterpret(const CMIUtilStr //++ ------------------------------------------------------------------------------------ // Details: Having previously had the potential command validated and found valid now // get the command executed. -// If the Functionalityity returns MIstatus::failure call GetErrorDescription(). +// If the Functionality returns MIstatus::failure call GetErrorDescription(). // This function is used by the application's main thread. // Type: Method. // Args: vCmdData - (RW) Command meta data. Modified: lldb/trunk/tools/lldb-mi/MICmnBase.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnBase.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnBase.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnBase.cpp Tue Jul 7 09:04:40 2015 @@ -46,7 +46,7 @@ CMICmnBase::~CMICmnBase(void) // Details: Retrieve whether *this object has an error description set. // Type: Method. // Args: None. -// Return: bool - True = Yes already defined, false = empty discription. +// Return: bool - True = Yes already defined, false = empty description. // Throws: None. //-- bool Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBBroadcaster.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBBroadcaster.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBBroadcaster.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBBroadcaster.cpp Tue Jul 7 09:04:40 2015 @@ -35,7 +35,7 @@ CMICmnLLDBBroadcaster::~CMICmnLLDBBroadc } //++ ------------------------------------------------------------------------------------ -// Details: Initialize resources for *this broardcaster object. +// Details: Initialize resources for *this broadcaster object. // Type: Method. // Args: None. // Return: MIstatus::success - Functionality succeeded. @@ -56,7 +56,7 @@ CMICmnLLDBBroadcaster::Initialize(void) } //++ ------------------------------------------------------------------------------------ -// Details: Release resources for *this broardcaster object. +// Details: Release resources for *this broadcaster object. // Type: Method. // Args: None. // Return: MIstatus::success - Functionality succeeded. Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBBroadcaster.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBBroadcaster.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBBroadcaster.h (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBBroadcaster.h Tue Jul 7 09:04:40 2015 @@ -15,7 +15,7 @@ #include "MIUtilSingletonBase.h" //++ ============================================================================ -// Details: MI derived class from LLDB SBBroardcaster API. +// Details: MI derived class from LLDB SBBroadcaster API. // // *** This class (files) is a place holder until we know we need it or // *** not Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp Tue Jul 7 09:04:40 2015 @@ -383,7 +383,7 @@ CMICmnLLDBDebugSessionInfo::MIResponseFo const char *pThreadName = rThread.GetName(); const MIuint len = (pThreadName != nullptr) ? CMIUtilString(pThreadName).length() : 0; const bool bHaveName = ((pThreadName != nullptr) && (len > 0) && (len < 32) && - CMIUtilString::IsAllValidAlphaAndNumeric(pThreadName)); // 32 is arbitary number + CMIUtilString::IsAllValidAlphaAndNumeric(pThreadName)); // 32 is arbitrary number const char *pThrdFmt = bHaveName ? "%s" : "Thread %d"; CMIUtilString strThread; if (bHaveName) @@ -523,7 +523,7 @@ CMICmnLLDBDebugSessionInfo::MIResponseFo // Args: vrValue - (R) LLDB value object. // vbInSimpleForm - (R) True = Get variable info in simple form (i.e. don't expand aggregates). // - False = Get variable info (and expand aggregates if any). -// vwrStrValue t - (W) The string representatin of this value. +// vwrStrValue t - (W) The string representation of this value. // Return: MIstatus::success - Functional succeeded. // MIstatus::failure - Functional failed. // Throws: None. Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfo.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfo.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfo.h (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfo.h Tue Jul 7 09:04:40 2015 @@ -35,8 +35,8 @@ class CMICmnMIValueList; // Details: MI debug session object that holds debugging information between // instances of MI commands executing their work and producing MI // result records. Information/data is set by one or many commands then -// retrieved by the same or other sebsequent commands. -// It primarily to hold LLDB type objects. +// retrieved by the same or other subsequent commands. +// It primarily holds LLDB type objects. // A singleton class. // Gotchas: None. // Authors: Illya Rudkin 04/03/2014. Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfoVarObj.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfoVarObj.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfoVarObj.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfoVarObj.cpp Tue Jul 7 09:04:40 2015 @@ -289,7 +289,7 @@ CMICmnLLDBDebugSessionInfoVarObj::GetVal } //++ ------------------------------------------------------------------------------------ -// Details: Return nuber formatted string according to the given value type. +// Details: Return number formatted string according to the given value type. // Type: Static method. // Args: vnValue - (R) The number value to get formatted. // vpStrValueNatural - (R) The natural representation of the number value. @@ -535,7 +535,7 @@ CMICmnLLDBDebugSessionInfoVarObj::GetVal } //++ ------------------------------------------------------------------------------------ -// Details: Set the var format type for *this object and upate the formatting. +// Details: Set the var format type for *this object and update the formatting. // Type: Method. // Args: None. // Return: MIstatus::success - Functional succeeded. Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfoVarObj.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfoVarObj.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfoVarObj.h (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBDebugSessionInfoVarObj.h Tue Jul 7 09:04:40 2015 @@ -120,7 +120,7 @@ class CMICmnLLDBDebugSessionInfoVarObj static MIuint ms_nVarUniqueId; static varFormat_e ms_eDefaultFormat; // overrides "natural" format // - // *** Upate the copy move constructors and assignment operator *** + // *** Update the copy move constructors and assignment operator *** varFormat_e m_eVarFormat; varType_e m_eVarType; CMIUtilString m_strName; @@ -128,5 +128,5 @@ class CMICmnLLDBDebugSessionInfoVarObj CMIUtilString m_strNameReal; CMIUtilString m_strFormattedValue; CMIUtilString m_strVarObjParentName; - // *** Upate the copy move constructors and assignment operator *** + // *** Update the copy move constructors and assignment operator *** }; Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp Tue Jul 7 09:04:40 2015 @@ -64,7 +64,7 @@ CMICmnLLDBDebuggerHandleEvents::~CMICmnL } //++ ------------------------------------------------------------------------------------ -// Details: Initialize resources for *this broardcaster object. +// Details: Initialize resources for *this broadcaster object. // Type: Method. // Args: None. // Return: MIstatus::success - Functionality succeeded. @@ -90,7 +90,7 @@ CMICmnLLDBDebuggerHandleEvents::Initiali } //++ ------------------------------------------------------------------------------------ -// Details: Release resources for *this broardcaster object. +// Details: Release resources for *this broadcaster object. // Type: Method. // Args: None. // Return: MIstatus::success - Functionality succeeded. @@ -112,7 +112,7 @@ CMICmnLLDBDebuggerHandleEvents::Shutdown } //++ ------------------------------------------------------------------------------------ -// Details: Interpret the event object to asscertain the action to take or information to +// Details: Interpret the event object to ascertain the action to take or information to // to form and put in a MI Out-of-band record object which is given to stdout. // Type: Method. // Args: vEvent - (R) An LLDB broadcast event. Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.cpp Tue Jul 7 09:04:40 2015 @@ -36,7 +36,7 @@ CMICmnLLDBProxySBValue::GetValueAsUnsign MIuint64 nValue = rValue.GetValueAsUnsigned(nFailValue); if (nValue == nFailValue) { - nFailValue = 5; // Some arbitary number + nFailValue = 5; // Some arbitrary number nValue = rValue.GetValueAsUnsigned(nFailValue); if (nValue != nFailValue) { @@ -72,7 +72,7 @@ CMICmnLLDBProxySBValue::GetValueAsSigned MIuint64 nValue = rValue.GetValueAsSigned(nFailValue); if (nValue == nFailValue) { - nFailValue = 5; // Some arbitary number + nFailValue = 5; // Some arbitrary number nValue = rValue.GetValueAsSigned(nFailValue); if (nValue != nFailValue) { Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.h (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.h Tue Jul 7 09:04:40 2015 @@ -15,12 +15,12 @@ // In-house headers: #include "MIDataTypes.h" -// Declerations: +// Declarations: class CMIUtilString; //++ ============================================================================ // Details: MI proxy wrapper class to lldb::SBValue. The class provides functionality -// to assist in the use of SBValue's parculiar function usage. +// to assist in the use of SBValue's particular function usage. // Gotchas: None. // Authors: Illya Rudkin 03/04/2014. // Changes: None. Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBUtilSBValue.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBUtilSBValue.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBUtilSBValue.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBUtilSBValue.cpp Tue Jul 7 09:04:40 2015 @@ -20,7 +20,7 @@ //++ ------------------------------------------------------------------------------------ // Details: CMICmnLLDBUtilSBValue constructor. // Type: Method. -// Args: vrValue - (R) The LLDb value object. +// Args: vrValue - (R) The LLDB value object. // vbHandleCharType - (R) True = Yes return text molding to char type, // False = just return data. // Return: None. @@ -579,7 +579,7 @@ CMICmnLLDBUtilSBValue::HasName(void) con } //++ ------------------------------------------------------------------------------------ -// Details: Determine if the value object' respresents a LLDB variable i.e. "$0". +// Details: Determine if the value object' represents a LLDB variable i.e. "$0". // Type: Method. // Args: None. // Return: bool - True = Yes LLDB variable, false = no. Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBUtilSBValue.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBUtilSBValue.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBUtilSBValue.h (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBUtilSBValue.h Tue Jul 7 09:04:40 2015 @@ -16,7 +16,7 @@ #include "MIDataTypes.h" #include "MICmnMIValueTuple.h" -// Declerations: +// Declarations: class CMIUtilString; //++ ============================================================================ Modified: lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp Tue Jul 7 09:04:40 2015 @@ -396,7 +396,7 @@ CMICmnLogMediumFile::ConvertCr(const CMI } //++ ------------------------------------------------------------------------------------ -// Details: Set the header text that is written to the logger file at the begining. +// Details: Set the header text that is written to the logger file at the beginning. // Type: Method. // Args: vText - (R) Text. // Return: MIstatus::success - Functional succeeded. @@ -425,7 +425,7 @@ CMICmnLogMediumFile::GetLineReturn(void) } //++ ------------------------------------------------------------------------------------ -// Details: Set the diretory to place the log file. +// Details: Set the directory to place the log file. // Type: Method. // Args: vPath - (R) Path to log. // Return: MIstatus::success - Functional succeeded. Modified: lldb/trunk/tools/lldb-mi/MICmnMIValueList.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnMIValueList.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnMIValueList.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnMIValueList.cpp Tue Jul 7 09:04:40 2015 @@ -84,7 +84,7 @@ CMICmnMIValueList::BuildList(void) //++ ------------------------------------------------------------------------------------ // Details: Add another MI result object to the value list's of list is results. -// Only result obejcts can be added to a list of result otherwise this function +// Only result objects can be added to a list of result otherwise this function // will return MIstatus::failure. // Type: Method. // Args: vResult - (R) The MI result object. @@ -116,7 +116,7 @@ CMICmnMIValueList::Add(const CMICmnMIVal //++ ------------------------------------------------------------------------------------ // Details: Add another MI result object to the value list's of list is results. -// Only result obejcts can be added to a list of result otherwise this function +// Only result objects can be added to a list of result otherwise this function // will return MIstatus::failure. // Type: Method. // Args: vResult - (R) The MI result object. Modified: lldb/trunk/tools/lldb-mi/MICmnResources.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnResources.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnResources.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnResources.cpp Tue Jul 7 09:04:40 2015 @@ -129,7 +129,7 @@ const CMICmnResources::SRsrcTextData CMI {IDS_LLDBDEBUGGER_ERR_INVALIDCLIENTNAME, "LLDB Debugger. Invalid client name '%s' "}, {IDS_LLDBDEBUGGER_ERR_CLIENTNOTREGISTERED, "LLDB Debugger. Client name '%s' not registered for listening events"}, {IDS_LLDBDEBUGGER_ERR_STOPLISTENER, "LLDB Debugger. Failure occurred stopping event for client '%s' SBBroadcaster '%s'"}, - {IDS_LLDBDEBUGGER_ERR_BROARDCASTER_NAME, "LLDB Debugger. Broardcaster's name '%s' is not valid"}, + {IDS_LLDBDEBUGGER_ERR_BROARDCASTER_NAME, "LLDB Debugger. Broadcaster's name '%s' is not valid"}, {IDS_LLDBDEBUGGER_WRN_UNKNOWN_EVENT, "LLDB Debugger. Unhandled event '%s'"}, {IDS_LLDBOUTOFBAND_ERR_UNKNOWN_EVENT, "LLDB Out-of-band. Handling event for '%s', an event enumeration '%d' not recognised"}, {IDS_LLDBOUTOFBAND_ERR_PROCESS_INVALID, "LLDB Out-of-band. Invalid '%s' in '%s'"}, Modified: lldb/trunk/tools/lldb-mi/MICmnStreamStderr.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnStreamStderr.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnStreamStderr.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnStreamStderr.cpp Tue Jul 7 09:04:40 2015 @@ -93,7 +93,7 @@ CMICmnStreamStderr::Shutdown(void) //++ ------------------------------------------------------------------------------------ // Details: Write text data to stderr. Prefix the message with "MI:". The text data does -// not need to include a carrage line return as this is added to the text. The +// not need to include a carriage line return as this is added to the text. The // function also then passes the text data into the CMICmnLog logger. // Type: Method. // Args: vText - (R) Text data. @@ -115,7 +115,7 @@ CMICmnStreamStderr::Write(const CMIUtilS //++ ------------------------------------------------------------------------------------ // Details: Write an LLDB text message to stderr. -// The text data does not need to include a carrage line return as this is added +// The text data does not need to include a carriage line return as this is added // to the text. The function also then passes the text data into the CMICmnLog // logger. // Type: Method. @@ -138,7 +138,7 @@ CMICmnStreamStderr::WriteLLDBMsg(const C //++ ------------------------------------------------------------------------------------ // Details: Write text data to stderr. The text data does not need to -// include a carrage line return as this is added to the text. The function also +// include a carriage line return as this is added to the text. The function also // then passes the text data into the CMICmnLog logger. // Type: Method. // Args: vText - (R) Text data. May be prefixed with MI app's short name. Modified: lldb/trunk/tools/lldb-mi/MICmnStreamStdout.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnStreamStdout.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnStreamStdout.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnStreamStdout.cpp Tue Jul 7 09:04:40 2015 @@ -93,7 +93,7 @@ CMICmnStreamStdout::Shutdown(void) //++ ------------------------------------------------------------------------------------ // Details: Write an MI format type response to stdout. The text data does not need to -// include a carrage line return as this is added to the text. The function also +// include a carriage line return as this is added to the text. The function also // then passes the text data into the CMICmnLog logger. // Type: Method. // Args: vText - (R) MI formatted text. @@ -110,7 +110,7 @@ CMICmnStreamStdout::WriteMIResponse(cons //++ ------------------------------------------------------------------------------------ // Details: Write text data to stdout. The text data does not need to -// include a carrage line return as this is added to the text. The function also +// include a carriage line return as this is added to the text. The function also // then passes the text data into the CMICmnLog logger. // Type: Method. // Args: vText - (R) Text data. @@ -132,7 +132,7 @@ CMICmnStreamStdout::Write(const CMIUtilS //++ ------------------------------------------------------------------------------------ // Details: Write text data to stdout. The text data does not need to -// include a carrage line return as this is added to the text. The function also +// include a carriage line return as this is added to the text. The function also // then passes the text data into the CMICmnLog logger. // Type: Method. // Args: vText - (R) Text data prefixed with MI app's short name. Modified: lldb/trunk/tools/lldb-mi/MIDriver.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIDriver.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MIDriver.cpp (original) +++ lldb/trunk/tools/lldb-mi/MIDriver.cpp Tue Jul 7 09:04:40 2015 @@ -343,7 +343,7 @@ CMIDriver::SetDriverToFallThruTo(const C //++ ------------------------------------------------------------------------------------ // Details: Proxy function CMIDriverMgr IDriver interface implementation. *this driver's // implementation called from here to match the existing function name of the -// original LLDb driver class (the extra indirection is not necessarily required). +// original LLDB driver class (the extra indirection is not necessarily required). // Check the arguments that were passed to this program to make sure they are // valid and to get their argument values (if any). // Type: Overridden. Modified: lldb/trunk/tools/lldb-mi/MIDriverBase.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIDriverBase.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MIDriverBase.cpp (original) +++ lldb/trunk/tools/lldb-mi/MIDriverBase.cpp Tue Jul 7 09:04:40 2015 @@ -175,7 +175,7 @@ CMIDriverBase::GetStderr(void) const //++ ------------------------------------------------------------------------------------ // Details: Set the MI Driver's exit application flag. The application checks this flag -// after every stdin line is read so the exit may not be instantious. +// after every stdin line is read so the exit may not be instantaneous. // If vbForceExit is false the MI Driver queries its state and determines if is // should exit or continue operating depending on that running state. // Type: Overrideable. Modified: lldb/trunk/tools/lldb-mi/MIDriverMain.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIDriverMain.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MIDriverMain.cpp (original) +++ lldb/trunk/tools/lldb-mi/MIDriverMain.cpp Tue Jul 7 09:04:40 2015 @@ -124,7 +124,7 @@ DriverSystemShutdown(const bool vbAppExi } //++ ------------------------------------------------------------------------------------ -// Details: MI's application start point of execution. The applicaton runs in two modes. +// Details: MI's application start point of execution. The application runs in two modes. // An LLDB native driver mode where it acts no different from the LLDB driver. // The other mode is the MI when it finds on the command line // the --interpreter option. Command line argument --help on its own will give @@ -140,7 +140,7 @@ DriverSystemShutdown(const bool vbAppExi // >0 = Program success with status i.e. Control-C signal status // <0 = Program failed. // -1 = Program failed reason not specified here, see MI log file. -// -1000 = Program failed did not initailize successfully. +// -1000 = Program failed did not initialize successfully. // Throws: None. //-- int Modified: lldb/trunk/tools/lldb-mi/MIUtilMapIdToVariant.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilMapIdToVariant.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MIUtilMapIdToVariant.h (original) +++ lldb/trunk/tools/lldb-mi/MIUtilMapIdToVariant.h Tue Jul 7 09:04:40 2015 @@ -20,7 +20,7 @@ //++ ============================================================================ // Details: MI common code utility class. Map type container that hold general -// object types (by being wrappin an variant wrapper) +// object types (by being a variant wrapper) // objects by ID. // Gotchas: None. // Authors: Illya Rudkin 19/06/2014. @@ -44,7 +44,7 @@ class CMIUtilMapIdToVariant : public CMI // From CMICmnBase /* dtor */ ~CMIUtilMapIdToVariant(void) override; - // Typdefs: + // Typedefs: private: typedef std::map<CMIUtilString, CMIUtilVariant> MapKeyToVariantValue_t; typedef std::pair<CMIUtilString, CMIUtilVariant> MapPairKeyToVariantValue_t; @@ -65,8 +65,8 @@ class CMIUtilMapIdToVariant : public CMI // Args: T - The data object's variable type. // vId - (R) Unique ID i.e. GUID. // vData - (R) The general data object to be stored of some type. -// Return: MIstatus::success - Functional succeeded. -// MIstatus::failure - Functional failed. +// Return: MIstatus::success - Function succeeded. +// MIstatus::failure - Function failed. // Throws: None. //-- template <typename T> @@ -98,8 +98,8 @@ CMIUtilMapIdToVariant::Add(const CMIUtil // vId - (R) Unique ID i.e. GUID. // vrwData - (W) Copy of the data object held. // vrwbFound - (W) True = data found, false = data not found. -// Return: MIstatus::success - Functional succeeded. -// MIstatus::failure - Functional failed. +// Return: MIstatus::success - Function succeeded. +// MIstatus::failure - Function failed. // Throws: None. //-- template <typename T> Modified: lldb/trunk/tools/lldb-mi/MIUtilSingletonHelper.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilSingletonHelper.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MIUtilSingletonHelper.h (original) +++ lldb/trunk/tools/lldb-mi/MIUtilSingletonHelper.h Tue Jul 7 09:04:40 2015 @@ -24,7 +24,7 @@ namespace MI // MI components (singletons) required by a client module. // Type: Template method. // Args: vErrorResrcId - (R) The string resource ID error message identifier to place in errMsg. -// vwrbOk - (RW) On input True = Try to initalise MI driver module. +// vwrbOk - (RW) On input True = Try to initialize MI driver module. // On output True = MI driver module initialise successfully. // vwrErrMsg - (W) MI driver module initialise error description on failure. // Return: MIstatus::success - Functional succeeded. @@ -46,7 +46,7 @@ ModuleInit(const MIint vErrorResrcId, bo } //++ ============================================================================ -// Details: Short cut helper function to simplify repeated shutodown of +// Details: Short cut helper function to simplify repeated shutdown of // MI components (singletons) required by a client module. // Type: Template method. // Args: vErrorResrcId - (R) The string resource ID error message identifier Modified: lldb/trunk/tools/lldb-mi/MIUtilString.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilString.h?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MIUtilString.h (original) +++ lldb/trunk/tools/lldb-mi/MIUtilString.h Tue Jul 7 09:04:40 2015 @@ -26,7 +26,7 @@ //-- class CMIUtilString : public std::string { - // Typdefs: + // Typedefs: public: typedef std::vector<CMIUtilString> VecString_t; Modified: lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.cpp (original) +++ lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.cpp Tue Jul 7 09:04:40 2015 @@ -78,7 +78,7 @@ CMIUtilSystemLinux::GetOSLastError(void) // Details: Retrieves the fully qualified path for the this application. If the function // fails the string is filled with the error message. // Type: Method. -// Args: vrwFileNamePath - (W) The excutable's name and path or last error description. +// Args: vrwFileNamePath - (W) The executable's name and path or last error description. // Return: MIstatus::success - Functional succeeded. // MIstatus::failure - Functional failed. // Throws: None. Modified: lldb/trunk/tools/lldb-mi/MIUtilSystemOsx.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilSystemOsx.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MIUtilSystemOsx.cpp (original) +++ lldb/trunk/tools/lldb-mi/MIUtilSystemOsx.cpp Tue Jul 7 09:04:40 2015 @@ -78,7 +78,7 @@ CMIUtilSystemOsx::GetOSLastError(void) c // Details: Retrieves the fully qualified path for the this application. If the function // fails the string is filled with the error message. // Type: Method. -// Args: vrwFileNamePath - (W) The excutable's name and path or last error description. +// Args: vrwFileNamePath - (W) The executable's name and path or last error description. // Return: MIstatus::success - Functional succeeded. // MIstatus::failure - Functional failed. // Throws: None. Modified: lldb/trunk/tools/lldb-mi/MIUtilSystemWindows.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilSystemWindows.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MIUtilSystemWindows.cpp (original) +++ lldb/trunk/tools/lldb-mi/MIUtilSystemWindows.cpp Tue Jul 7 09:04:40 2015 @@ -100,7 +100,7 @@ CMIUtilSystemWindows::GetOSLastError(voi // Details: Retrieves the fully qualified path for the this application. If the function // fails the string is filled with the error message. // Type: Method. -// Args: vrwFileNamePath - (W) The excutable's name and path or last error description. +// Args: vrwFileNamePath - (W) The executable's name and path or last error description. // Return: MIstatus::success - Functional succeeded. // MIstatus::failure - Functional failed. // Throws: None. Modified: lldb/trunk/tools/lldb-mi/MIUtilThreadBaseStd.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilThreadBaseStd.cpp?rev=241585&r1=241584&r2=241585&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MIUtilThreadBaseStd.cpp (original) +++ lldb/trunk/tools/lldb-mi/MIUtilThreadBaseStd.cpp Tue Jul 7 09:04:40 2015 @@ -59,7 +59,7 @@ CMIUtilThreadActiveObjBase::ThreadIsActi //++ ------------------------------------------------------------------------------------ // Details: Set up *this thread. -// Type: Mrthod. +// Type: Method. // Args: None. // Return: MIstatus::success - Functional succeeded. // MIstatus::failure - Functional failed. @@ -73,7 +73,7 @@ CMIUtilThreadActiveObjBase::ThreadExecut } //++ ------------------------------------------------------------------------------------ -// Details: Aquire a reference to CMIUtilThreadActiveObjBase. +// Details: Acquire a reference to CMIUtilThreadActiveObjBase. // Type: Method. // Args: None. // Return: MIstatus::success - Functional succeeded. _______________________________________________ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits