[Lldb-commits] [lldb] r215234 - Restore some reverted fixes for spelling, newlines and __linux__ macro.
Deepak Panickal
deepak at codeplay.com
Fri Aug 8 10:39:48 PDT 2014
Author: panickal
Date: Fri Aug 8 12:39:47 2014
New Revision: 215234
URL: http://llvm.org/viewvc/llvm-project?rev=215234&view=rev
Log:
Restore some reverted fixes for spelling, newlines and __linux__ macro.
Modified:
lldb/trunk/tools/lldb-mi/Driver.cpp
lldb/trunk/tools/lldb-mi/MICmdArgSet.cpp
lldb/trunk/tools/lldb-mi/MICmdArgValFile.cpp
lldb/trunk/tools/lldb-mi/MICmdArgValListBase.cpp
lldb/trunk/tools/lldb-mi/MICmdArgValListOfN.cpp
lldb/trunk/tools/lldb-mi/MICmdArgValNumber.cpp
lldb/trunk/tools/lldb-mi/MICmdArgValOptionLong.cpp
lldb/trunk/tools/lldb-mi/MICmdArgValOptionShort.cpp
lldb/trunk/tools/lldb-mi/MICmdArgValString.cpp
lldb/trunk/tools/lldb-mi/MICmdArgValThreadGrp.cpp
lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.cpp
lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp
lldb/trunk/tools/lldb-mi/MICmnResources.cpp
lldb/trunk/tools/lldb-mi/MICmnStreamStdin.cpp
lldb/trunk/tools/lldb-mi/MICmnStreamStdinLinux.cpp
lldb/trunk/tools/lldb-mi/MIDriver.cpp
lldb/trunk/tools/lldb-mi/MIUtilSingletonBase.h
lldb/trunk/tools/lldb-mi/MIUtilSingletonHelper.h
lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.cpp
lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.h
Modified: lldb/trunk/tools/lldb-mi/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/Driver.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/Driver.cpp (original)
+++ lldb/trunk/tools/lldb-mi/Driver.cpp Fri Aug 8 12:39:47 2014
@@ -1296,3 +1296,4 @@ const CMIUtilString & Driver::GetDriverI
}
#endif // MICONFIG_COMPILE_MIDRIVER_WITH_LLDBDRIVER
+
Modified: lldb/trunk/tools/lldb-mi/MICmdArgSet.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdArgSet.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmdArgSet.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmdArgSet.cpp Fri Aug 8 12:39:47 2014
@@ -84,7 +84,7 @@ void CMICmdArgSet::Destroy( void )
//++ ------------------------------------------------------------------------------------
// Details: Retrieve the state flag indicating that the command set up ready to parse
-// command arguments or options found that one or more arguemnts was indeed
+// command arguments or options found that one or more arguments was indeed
// present but not handled. This is given as a warning in the MI log file.
// Type: Method.
// Args: None.
@@ -97,7 +97,7 @@ bool CMICmdArgSet::IsArgsPresentButNotHa
}
//++ ------------------------------------------------------------------------------------
-// Details: Add the the list of command's arguments to parse and validate another one.
+// Details: Add the list of command's arguments to parse and validate another one.
// Type: Method.
// Args: vArg - (R) A command argument object.
// Return: MIstatus::success - Functional succeeded.
@@ -160,7 +160,7 @@ const CMICmdArgSet::SetCmdArgs_t & CMICm
//++ ------------------------------------------------------------------------------------
// Details: Given a set of command argument objects parse the context option string to
// find those argument and retrieve their value. If the function fails call
-// GetArgsThatAreMissing() to see which commands that were manadatory were
+// GetArgsThatAreMissing() to see which commands that were mandatory were
// missing or failed to parse.
// Type: Method.
// Args: vStrMiCmd - (R) Command's name.
Modified: lldb/trunk/tools/lldb-mi/MICmdArgValFile.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdArgValFile.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmdArgValFile.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmdArgValFile.cpp Fri Aug 8 12:39:47 2014
@@ -50,7 +50,7 @@ CMICmdArgValFile::CMICmdArgValFile( cons
//++ ------------------------------------------------------------------------------------
// Details: CMICmdArgValFile destructor.
-// Type: Overidden.
+// Type: Overridden.
// Args: None.
// Return: None.
// Throws: None.
Modified: lldb/trunk/tools/lldb-mi/MICmdArgValListBase.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdArgValListBase.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmdArgValListBase.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmdArgValListBase.cpp Fri Aug 8 12:39:47 2014
@@ -75,7 +75,7 @@ CMICmdArgValListBase::CMICmdArgValListBa
//++ ------------------------------------------------------------------------------------
// Details: CMICmdArgValListBase destructor.
-// Type: Overidden.
+// Type: Overridden.
// Args: None.
// Return: None.
// Throws: None.
Modified: lldb/trunk/tools/lldb-mi/MICmdArgValListOfN.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdArgValListOfN.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmdArgValListOfN.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmdArgValListOfN.cpp Fri Aug 8 12:39:47 2014
@@ -57,7 +57,7 @@ CMICmdArgValListOfN::CMICmdArgValListOfN
//++ ------------------------------------------------------------------------------------
// Details: CMICmdArgValListOfN destructor.
-// Type: Overidden.
+// Type: Overridden.
// Args: None.
// Return: None.
// Throws: None.
Modified: lldb/trunk/tools/lldb-mi/MICmdArgValNumber.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdArgValNumber.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmdArgValNumber.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmdArgValNumber.cpp Fri Aug 8 12:39:47 2014
@@ -52,7 +52,7 @@ CMICmdArgValNumber::CMICmdArgValNumber(
//++ ------------------------------------------------------------------------------------
// Details: CMICmdArgValNumber destructor.
-// Type: Overidden.
+// Type: Overridden.
// Args: None.
// Return: None.
// Throws: None.
Modified: lldb/trunk/tools/lldb-mi/MICmdArgValOptionLong.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdArgValOptionLong.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmdArgValOptionLong.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmdArgValOptionLong.cpp Fri Aug 8 12:39:47 2014
@@ -72,7 +72,7 @@ CMICmdArgValOptionLong::CMICmdArgValOpti
//++ ------------------------------------------------------------------------------------
// Details: CMICmdArgValOptionLong destructor.
-// Type: Overidden.
+// Type: Overridden.
// Args: None.
// Return: None.
// Throws: None.
@@ -107,7 +107,7 @@ void CMICmdArgValOptionLong::Destroy( vo
//++ ------------------------------------------------------------------------------------
// Details: Parse the command's argument options string and try to extract the long
-// arguemnt *this argument type is looking for.
+// argument *this argument type is looking for.
// Type: Overridden.
// Args: vwArgContext - (RW) The command's argument options string.
// Return: MIstatus::success - Functional succeeded.
Modified: lldb/trunk/tools/lldb-mi/MICmdArgValOptionShort.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdArgValOptionShort.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmdArgValOptionShort.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmdArgValOptionShort.cpp Fri Aug 8 12:39:47 2014
@@ -66,7 +66,7 @@ CMICmdArgValOptionShort::CMICmdArgValOpt
//++ ------------------------------------------------------------------------------------
// Details: CMICmdArgValOptionShort destructor.
-// Type: Overidden.
+// Type: Overridden.
// Args: None.
// Return: None.
// Throws: None.
Modified: lldb/trunk/tools/lldb-mi/MICmdArgValString.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdArgValString.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmdArgValString.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmdArgValString.cpp Fri Aug 8 12:39:47 2014
@@ -74,7 +74,7 @@ CMICmdArgValString::CMICmdArgValString(
//++ ------------------------------------------------------------------------------------
// Details: CMICmdArgValString destructor.
-// Type: Overidden.
+// Type: Overridden.
// Args: None.
// Return: None.
// Throws: None.
Modified: lldb/trunk/tools/lldb-mi/MICmdArgValThreadGrp.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdArgValThreadGrp.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmdArgValThreadGrp.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmdArgValThreadGrp.cpp Fri Aug 8 12:39:47 2014
@@ -52,7 +52,7 @@ CMICmdArgValThreadGrp::CMICmdArgValThrea
//++ ------------------------------------------------------------------------------------
// Details: CMICmdArgValThreadGrp destructor.
-// Type: Overidden.
+// Type: Overridden.
// Args: None.
// Return: None.
// Throws: None.
@@ -169,4 +169,5 @@ bool CMICmdArgValThreadGrp::ExtractNumbe
MIuint CMICmdArgValThreadGrp::GetNumber( void ) const
{
return m_nThreadGrp;
-}
\ No newline at end of file
+}
+
Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnLLDBProxySBValue.cpp Fri Aug 8 12:39:47 2014
@@ -19,6 +19,8 @@
// Copyright: None.
//--
+#include <stdlib.h>
+
// Third Party Headers:
#include <lldb/API/SBError.h>
Modified: lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp Fri Aug 8 12:39:47 2014
@@ -24,7 +24,7 @@
#include "MICmnResources.h"
#if defined( _MSC_VER )
#include "MIUtilSystemWindows.h"
-#elif defined( __FreeBSD__ ) || defined( __linux )
+#elif defined( __FreeBSD__ ) || defined( __linux__ )
#include "MIUtilSystemLinux.h"
#elif defined( __APPLE__ )
#include "MIUtilSystemOsx.h"
Modified: lldb/trunk/tools/lldb-mi/MICmnResources.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnResources.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnResources.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnResources.cpp Fri Aug 8 12:39:47 2014
@@ -258,7 +258,7 @@ CMICmnResources::CMICmnResources( void )
//++ ------------------------------------------------------------------------------------
// Details: CMICmnResources destructor.
-// Type: Overidden.
+// Type: Overridden.
// Args: None.
// Return: None.
// Throws: None.
Modified: lldb/trunk/tools/lldb-mi/MICmnStreamStdin.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnStreamStdin.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnStreamStdin.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnStreamStdin.cpp Fri Aug 8 12:39:47 2014
@@ -187,7 +187,7 @@ bool CMICmnStreamStdin::SetPrompt( const
}
//++ ------------------------------------------------------------------------------------
-// Details: Retreive the command line prompt text currently being used.
+// Details: Retrieve the command line prompt text currently being used.
// Type: Method.
// Args: None.
// Return: const CMIUtilString & - Functional failed.
@@ -201,7 +201,7 @@ const CMIUtilString & CMICmnStreamStdin:
//++ ------------------------------------------------------------------------------------
// Details: Wait on input from stream Stdin. On each line of input received it is
// validated and providing there are no errors on the stream or the input
-// buffer is not exceeded the data is passed to the vistor.
+// buffer is not exceeded the data is passed to the visitor.
// Type: Method.
// Args: vrVisitor - (W) A client deriver callback.
// Return: MIstatus::success - Functional succeeded.
@@ -216,7 +216,7 @@ bool CMICmnStreamStdin::SetVisitor( IStr
//++ ------------------------------------------------------------------------------------
// Details: Set whether to display optional command line prompt. The prompt is output to
-// stdout. Disable it when this may interfer with the client reading stdout as
+// stdout. Disable it when this may interfere with the client reading stdout as
// input and it tries to interpret the prompt text to.
// Type: Method.
// Args: vbYes - (R) True = Yes prompt is shown/output to the user (stdout), false = no prompt.
@@ -231,7 +231,7 @@ void CMICmnStreamStdin::SetEnablePrompt(
//++ ------------------------------------------------------------------------------------
// Details: Get whether to display optional command line prompt. The prompt is output to
-// stdout. Disable it when this may interfer with the client reading stdout as
+// stdout. Disable it when this may interfere with the client reading stdout as
// input and it tries to interpret the prompt text to.
// Type: Method.
// Args: None.
@@ -366,7 +366,7 @@ void CMICmnStreamStdin::SetCtrlCHit( voi
//++ ------------------------------------------------------------------------------------
// Details: The main worker method for this thread.
-// Type: Overidden.
+// Type: Overridden.
// Args: vrbIsAlive = (W) True = *this thread is working, false = thread has exited.
// Return: MIstatus::success - Functional succeeded.
// MIstatus::failure - Functional failed.
Modified: lldb/trunk/tools/lldb-mi/MICmnStreamStdinLinux.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnStreamStdinLinux.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnStreamStdinLinux.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnStreamStdinLinux.cpp Fri Aug 8 12:39:47 2014
@@ -209,3 +209,4 @@ const MIchar * CMICmnStreamStdinLinux::R
return pText;
}
+
Modified: lldb/trunk/tools/lldb-mi/MIDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIDriver.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIDriver.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MIDriver.cpp Fri Aug 8 12:39:47 2014
@@ -847,7 +847,7 @@ FILE * CMIDriver::GetStderr( void ) cons
// available before *this driver has been initialized! Flaw?
// This very likely to change later to a stream that the pass thru driver
- // will write to and *this driver reads from to pass on the the CMICmnLog object
+ // will write to and *this driver reads from to pass on the CMICmnLog object
return stderr;
}
@@ -1018,7 +1018,7 @@ bool CMIDriver::ExecuteCommand( const SM
//++ ------------------------------------------------------------------------------------
// 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.
// This is related to the running state of the MI driver.
@@ -1273,3 +1273,4 @@ bool CMIDriver::IsDriverDebuggingArgExec
{
return m_bDriverDebuggingArgExecutable;
}
+
Modified: lldb/trunk/tools/lldb-mi/MIUtilSingletonBase.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilSingletonBase.h?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIUtilSingletonBase.h (original)
+++ lldb/trunk/tools/lldb-mi/MIUtilSingletonBase.h Fri Aug 8 12:39:47 2014
@@ -68,3 +68,4 @@ public:
};
} // namespace MI
+
Modified: lldb/trunk/tools/lldb-mi/MIUtilSingletonHelper.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilSingletonHelper.h?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIUtilSingletonHelper.h (original)
+++ lldb/trunk/tools/lldb-mi/MIUtilSingletonHelper.h Fri Aug 8 12:39:47 2014
@@ -37,8 +37,8 @@ namespace MI
// 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.
-// On output True = MI driver module intialise successfully.
-// vwrErrMsg - (W) MI driver module intialise error description on failure.
+// On output True = MI driver module initialise successfully.
+// vwrErrMsg - (W) MI driver module initialise error description on failure.
// Return: MIstatus::success - Functional succeeded.
// MIstatus::failure - Functional failed.
// Authors: Aidan Dodds 17/03/2014.
@@ -65,7 +65,7 @@ bool ModuleInit( const MIint vErrorResrc
// vwrbOk - (W) If not already false make false on module
// shutdown failure.
// vwrErrMsg - (RW) Append to existing error description string MI
-// driver module intialise error description on
+// driver module initialise error description on
// failure.
// Return: True - Module shutdown succeeded.
// False - Module shutdown failed.
@@ -92,3 +92,4 @@ bool ModuleShutdown( const MIint vErrorR
}
} // namespace MI
+
Modified: lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.cpp?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.cpp Fri Aug 8 12:39:47 2014
@@ -19,7 +19,7 @@
// Copyright: None.
//--
-#if defined( __FreeBSD__ ) || defined( __linux )
+#if defined( __FreeBSD__ ) || defined( __linux__ )
// In-house headers:
#include "MIUtilSystemLinux.h"
@@ -116,4 +116,4 @@ bool CMIUtilSystemLinux::GetLogFilesPath
return MIstatus::success;
}
-#endif // #if defined( __linux )
+#endif // #if defined( __linux__ )
Modified: lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.h?rev=215234&r1=215233&r2=215234&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.h (original)
+++ lldb/trunk/tools/lldb-mi/MIUtilSystemLinux.h Fri Aug 8 12:39:47 2014
@@ -21,7 +21,7 @@
#pragma once
-#if defined( __FreeBSD__ ) || defined( __linux )
+#if defined( __FreeBSD__ ) || defined( __linux__ )
// In-house headers:
#include "MIUtilString.h"
@@ -54,4 +54,4 @@ public:
typedef CMIUtilSystemLinux CMIUtilSystem;
-#endif // #if defined( __linux )
+#endif // #if defined( __linux__ )
More information about the lldb-commits
mailing list