[Lldb-commits] [patch] Typo fixes

Bruce Mitchener bruce.mitchener at gmail.com
Wed Jun 17 01:48:50 PDT 2015


The attached patch couldn't be uploaded into Phabricator due to the data
being too large (9M).

Can I commit this anyway? Should I get approval for patches that are only
fixing typos like this?

Thanks,

 - Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150617/50d18772/attachment.html>
-------------- next part --------------
commit c85c5714111e3d9643b06dcaedb05a869d636a7a
Author: Bruce Mitchener <bruce.mitchener at gmail.com>
Date:   Wed Jun 17 15:43:25 2015 +0700

    Fix typos.
    
    Summary:
    Fix a variety of typos throughout the codebase.
    
    Test Plan:
    No code changed.
    
    Reviewers:
    clayborg
    
    Subscribers:
    lldb-commits

diff --git a/docs/lldb-gdb-remote.txt b/docs/lldb-gdb-remote.txt
index 730c8ab..2b89c34 100644
--- a/docs/lldb-gdb-remote.txt
+++ b/docs/lldb-gdb-remote.txt
@@ -573,7 +573,7 @@ ostype: a string for the OS being debugged (darwin, linux, freebsd), not needed
 endian: is one of "little", "big", or "pdp"
 ptrsize: an unsigned number that represents how big pointers are in bytes on the debug target
 hostname: the hostname of the host that is running the GDB server if available
-os_build: a string for the the OS build for the remote host as a string value
+os_build: a string for the OS build for the remote host as a string value
 os_kernel: a string describing the kernel version
 os_version: a version string that represents the current OS version (10.8.2)
 watchpoint_exceptions_received: one of "before" or "after" to specify if a watchpoint is triggered before or after the pc when it stops
diff --git a/examples/darwin/heap_find/heap/heap_find.cpp b/examples/darwin/heap_find/heap/heap_find.cpp
index 2ac1319..a400cce 100644
--- a/examples/darwin/heap_find/heap/heap_find.cpp
+++ b/examples/darwin/heap_find/heap/heap_find.cpp
@@ -1,4 +1,4 @@
-//===-- head_find.c ---------------------------------------------*- C++ -*-===//
+//===-- heap_find.c ---------------------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -903,7 +903,7 @@ find_pointer_in_heap (const void * addr, int check_vm_regions)
 {
     g_matches.clear();
     // Setup "info" to look for a malloc block that contains data
-    // that is the a pointer 
+    // that is the pointer
     if (addr)
     {
         range_contains_data_callback_info_t data_info;
@@ -933,7 +933,7 @@ find_pointer_in_memory (uint64_t memory_addr, uint64_t memory_size, const void *
 {
     g_matches.clear();
     // Setup "info" to look for a malloc block that contains data
-    // that is the a pointer 
+    // that is the pointer
     range_contains_data_callback_info_t data_info;
     data_info.type = eDataTypeContainsData;      // Check each block for data
     data_info.data.buffer = (uint8_t *)&addr;    // What data? The pointer value passed in
@@ -960,7 +960,7 @@ find_objc_objects_in_memory (void *isa, int check_vm_regions)
     if (g_objc_classes.Update())
     {
         // Setup "info" to look for a malloc block that contains data
-        // that is the a pointer 
+        // that is the pointer
         range_contains_data_callback_info_t data_info;
         data_info.type = eDataTypeObjC;      // Check each block for data
         data_info.objc.match_isa = isa;
@@ -989,7 +989,7 @@ get_heap_info (int sort_type)
         // Reset all stats
         g_objc_class_snapshot.Reset ();
         // Setup "info" to look for a malloc block that contains data
-        // that is the a pointer 
+        // that is the pointer
         range_contains_data_callback_info_t data_info;
         data_info.type = eDataTypeHeapInfo; // Check each block for data
         data_info.match_count = 0;          // Initialize the match count to zero
diff --git a/include/lldb/Core/DataEncoder.h b/include/lldb/Core/DataEncoder.h
index 4bce0a5..7889f41 100644
--- a/include/lldb/Core/DataEncoder.h
+++ b/include/lldb/Core/DataEncoder.h
@@ -446,7 +446,7 @@ protected:
     uint8_t *m_end;     ///< A pointer to the byte that is past the end of the data.
     lldb::ByteOrder m_byte_order;   ///< The byte order of the data we are extracting from.
     uint8_t m_addr_size;            ///< The address size to use when extracting pointers or addresses
-    mutable lldb::DataBufferSP m_data_sp; ///< The shared pointer to data that can be shared among multilple instances
+    mutable lldb::DataBufferSP m_data_sp; ///< The shared pointer to data that can be shared among multiple instances
     
 private:
     DISALLOW_COPY_AND_ASSIGN (DataEncoder);
diff --git a/include/lldb/Core/DataExtractor.h b/include/lldb/Core/DataExtractor.h
index 516953b..e61189b 100644
--- a/include/lldb/Core/DataExtractor.h
+++ b/include/lldb/Core/DataExtractor.h
@@ -234,7 +234,7 @@ public:
     /// bytes into the contained data, into the stream \a s. \a
     /// num_per_line objects will be dumped on each line before a new
     /// line will be output. If \a base_addr is a valid address, then
-    /// each new line of output will be prededed by the address value
+    /// each new line of output will be preceded by the address value
     /// plus appropriate offset, and a colon and space. Bitfield values
     /// can be dumped by calling this function multiple times with the
     /// same start offset, format and size, yet differing \a
@@ -574,7 +574,7 @@ public:
     GetSharedDataOffset () const;
 
     //------------------------------------------------------------------
-    /// Get a the data start pointer.
+    /// Get the data start pointer.
     ///
     /// @return
     ///     Returns a pointer to the first byte contained in this
@@ -908,7 +908,7 @@ public:
     ///
     /// @return
     ///     \a dst if all values were properly extracted and copied,
-    ///     NULL otherise.
+    ///     NULL otherwise.
     //------------------------------------------------------------------
     void *
     GetU8 (lldb::offset_t *offset_ptr, void *dst, uint32_t count) const;
@@ -955,7 +955,7 @@ public:
     ///
     /// @return
     ///     \a dst if all values were properly extracted and copied,
-    ///     NULL otherise.
+    ///     NULL otherwise.
     //------------------------------------------------------------------
     void *
     GetU16 (lldb::offset_t *offset_ptr, void *dst, uint32_t count) const;
@@ -1002,7 +1002,7 @@ public:
     ///
     /// @return
     ///     \a dst if all values were properly extracted and copied,
-    ///     NULL otherise.
+    ///     NULL otherwise.
     //------------------------------------------------------------------
     void *
     GetU32 (lldb::offset_t *offset_ptr, void *dst, uint32_t count) const;
@@ -1049,7 +1049,7 @@ public:
     ///
     /// @return
     ///     \a dst if all values were properly extracted and copied,
-    ///     NULL otherise.
+    ///     NULL otherwise.
     //------------------------------------------------------------------
     void *
     GetU64 ( lldb::offset_t *offset_ptr, void *dst, uint32_t count) const;
@@ -1328,7 +1328,7 @@ protected:
     const uint8_t * m_end;          ///< A pointer to the byte that is past the end of the data.
     lldb::ByteOrder m_byte_order;   ///< The byte order of the data we are extracting from.
     uint32_t m_addr_size;           ///< The address size to use when extracting pointers or addresses
-    mutable lldb::DataBufferSP m_data_sp; ///< The shared pointer to data that can be shared among multilple instances
+    mutable lldb::DataBufferSP m_data_sp; ///< The shared pointer to data that can be shared among multiple instances
     const uint32_t m_target_byte_size;
 };
 
diff --git a/include/lldb/Core/IOHandler.h b/include/lldb/Core/IOHandler.h
index 8abdeab..b617d8e 100644
--- a/include/lldb/Core/IOHandler.h
+++ b/include/lldb/Core/IOHandler.h
@@ -313,7 +313,7 @@ namespace lldb_private {
         }
         
         //------------------------------------------------------------------
-        /// Called when a new line is created or one of an identifed set of
+        /// Called when a new line is created or one of an identified set of
         /// indentation characters is typed.
         ///
         /// This function determines how much indentation should be added
@@ -327,7 +327,7 @@ namespace lldb_private {
         ///     following the line containing the cursor are not included.
         ///
         /// @param[in] cursor_position
-        ///     The number of characters preceeding the cursor on the final
+        ///     The number of characters preceding the cursor on the final
         ///     line at the time.
         ///
         /// @return
diff --git a/include/lldb/Expression/ClangFunction.h b/include/lldb/Expression/ClangFunction.h
index a855460..cf7e259 100644
--- a/include/lldb/Expression/ClangFunction.h
+++ b/include/lldb/Expression/ClangFunction.h
@@ -413,7 +413,7 @@ private:
     //------------------------------------------------------------------
 
     // Note: the parser needs to be destructed before the execution unit, so
-    // declare the the execution unit first.
+    // declare the execution unit first.
     std::shared_ptr<IRExecutionUnit> m_execution_unit_sp;
     std::unique_ptr<ClangExpressionParser> m_parser;                 ///< The parser responsible for compiling the function.
     lldb::ModuleWP                  m_jit_module_wp;
diff --git a/include/lldb/Utility/PseudoTerminal.h b/include/lldb/Utility/PseudoTerminal.h
index 6ee598c..595b2fc 100644
--- a/include/lldb/Utility/PseudoTerminal.h
+++ b/include/lldb/Utility/PseudoTerminal.h
@@ -175,7 +175,7 @@ public:
     ///     occur. This can be NULL if no error status is desired.
     ///
     /// @return
-    ///     @li \b true when the a master files descriptor is
+    ///     @li \b true when the master files descriptor is
     ///         successfully opened.
     ///     @li \b false if anything goes wrong.
     ///
@@ -207,7 +207,7 @@ public:
     ///     occur. This can be NULL if no error status is desired.
     ///
     /// @return
-    ///     @li \b true when the a master files descriptor is
+    ///     @li \b true when the master files descriptor is
     ///         successfully opened.
     ///     @li \b false if anything goes wrong.
     ///
diff --git a/scripts/interface/SBPlatform.i b/scripts/interface/SBPlatform.i
index 31b8917..a6c4dfb 100644
--- a/scripts/interface/SBPlatform.i
+++ b/scripts/interface/SBPlatform.i
@@ -84,7 +84,7 @@ public:
 };
 
 %feature("docstring",
-"A class that represents the a platform that can represent the current host or a remote host debug platform.
+"A class that represents a platform that can represent the current host or a remote host debug platform.
 
 The SBPlatform class represents the current host, or a remote host.
 It can be connected to a remote platform in order to provide ways
diff --git a/scripts/lldb.swig b/scripts/lldb.swig
index 517c0b4..9e0262b 100644
--- a/scripts/lldb.swig
+++ b/scripts/lldb.swig
@@ -20,9 +20,9 @@ o SBFrame: Represents one of the stack frames associated with a thread. SBThread
 o SBSymbolContext: A container that stores various debugger related info.
 o SBValue: Represents the value of a variable, a register, or an expression.
 o SBModule: Represents an executable image and its associated object and symbol
-      files.  SBTarget conatins SBModule(s).
+      files.  SBTarget contains SBModule(s).
 o SBBreakpoint: Represents a logical breakpoint and its associated settings.
-      SBTarget conatins SBBreakpoint(s).
+      SBTarget contains SBBreakpoint(s).
 o SBSymbol: Represents the symbol possibly associated with a stack frame.
 o SBCompileUnit: Represents a compilation unit, or compiled source file.
 o SBFunction: Represents a generic function, which can be inlined or not.
diff --git a/source/API/SBModule.cpp b/source/API/SBModule.cpp
index 057297a..0249a7e 100644
--- a/source/API/SBModule.cpp
+++ b/source/API/SBModule.cpp
@@ -217,7 +217,7 @@ SBModule::GetUUIDString () const
     if (module_sp)
     {
         // We are going to return a "const char *" value through the public
-        // API, so we need to constify it so it gets added permanently the the
+        // API, so we need to constify it so it gets added permanently the
         // string pool and then we don't need to worry about the lifetime of the
         // string as it will never go away once it has been put into the ConstString
         // string pool
diff --git a/source/Commands/CommandObjectFrame.cpp b/source/Commands/CommandObjectFrame.cpp
index 774df29..d8b65e3 100644
--- a/source/Commands/CommandObjectFrame.cpp
+++ b/source/Commands/CommandObjectFrame.cpp
@@ -554,7 +554,7 @@ protected:
                         if (dump_variable)
                         {
                             // Use the variable object code to make sure we are
-                            // using the same APIs as the the public API will be
+                            // using the same APIs as the public API will be
                             // using...
                             valobj_sp = frame->GetValueObjectForFrameVariable (var_sp, 
                                                                                m_varobj_options.use_dynamic);
diff --git a/source/Commands/CommandObjectPlatform.cpp b/source/Commands/CommandObjectPlatform.cpp
index e08fbed..866587f 100644
--- a/source/Commands/CommandObjectPlatform.cpp
+++ b/source/Commands/CommandObjectPlatform.cpp
@@ -1196,7 +1196,7 @@ public:
             }
             else
             {
-                result.AppendMessageWithFormat("Eroor getting file size of %s (remote)\n", remote_file_path.c_str());
+                result.AppendMessageWithFormat("Error getting file size of %s (remote)\n", remote_file_path.c_str());
                 result.SetStatus (eReturnStatusFailed);
             }
         }
@@ -1970,7 +1970,7 @@ CommandObjectPlatformProcessAttach::CommandOptions::g_option_table[] =
     { LLDB_OPT_SET_ALL, false, "plugin",  'P'  , OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypePlugin,        "Name of the process plugin you want to use."},
     { LLDB_OPT_SET_1,   false, "pid",     'p'  , OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypePid,           "The process ID of an existing process to attach to."},
     { LLDB_OPT_SET_2,   false, "name",    'n'  , OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypeProcessName,  "The name of the process to attach to."},
-    { LLDB_OPT_SET_2,   false, "waitfor", 'w'  , OptionParser::eNoArgument      , NULL, NULL, 0, eArgTypeNone,              "Wait for the the process with <process-name> to launch."},
+    { LLDB_OPT_SET_2,   false, "waitfor", 'w'  , OptionParser::eNoArgument      , NULL, NULL, 0, eArgTypeNone,              "Wait for the process with <process-name> to launch."},
     { 0,                false, NULL     , 0    , 0                              , NULL, NULL, 0, eArgTypeNone, NULL }
 };
 
@@ -2080,7 +2080,7 @@ public:
     CommandObjectPlatformShell (CommandInterpreter &interpreter) :
     CommandObjectRaw (interpreter, 
                       "platform shell",
-                      "Run a shell command on a the selected platform.",
+                      "Run a shell command on the selected platform.",
                       "platform shell <shell-command>",
                       0),
     m_options(interpreter)
diff --git a/source/Core/DataBufferMemoryMap.cpp b/source/Core/DataBufferMemoryMap.cpp
index b26c48b..b3211b3 100644
--- a/source/Core/DataBufferMemoryMap.cpp
+++ b/source/Core/DataBufferMemoryMap.cpp
@@ -284,9 +284,9 @@ DataBufferMemoryMap::MemoryMapFromFileDescriptor (int fd,
 
                                     // Save the actual mmap'ed size
                                     m_mmap_size = length + page_offset;
-                                    // Our data is at an offset into the the mapped data
+                                    // Our data is at an offset into the mapped data
                                     m_data = m_mmap_addr + page_offset;
-                                    // Our pretend size is the size that was requestd
+                                    // Our pretend size is the size that was requested
                                     m_size = length;
                                 }
                             }
diff --git a/source/Core/Mangled.cpp b/source/Core/Mangled.cpp
index d277db7..ae5481d 100644
--- a/source/Core/Mangled.cpp
+++ b/source/Core/Mangled.cpp
@@ -191,7 +191,7 @@ Mangled::Clear ()
 
 
 //----------------------------------------------------------------------
-// Compare the the string values.
+// Compare the string values.
 //----------------------------------------------------------------------
 int
 Mangled::Compare (const Mangled& a, const Mangled& b)
diff --git a/source/Expression/ClangExpressionDeclMap.cpp b/source/Expression/ClangExpressionDeclMap.cpp
index 7574723..42a7d76 100644
--- a/source/Expression/ClangExpressionDeclMap.cpp
+++ b/source/Expression/ClangExpressionDeclMap.cpp
@@ -1088,7 +1088,7 @@ ClangExpressionDeclMap::FindExternalVisibleDecls (NameSearchContext &context,
             {
                 // This branch will get hit if we are executing code in the context of a function that
                 // claims to have an object pointer (through DW_AT_object_pointer?) but is not formally a
-                // method of the class.  In that case, just look up the "this" variable in the the current
+                // method of the class.  In that case, just look up the "this" variable in the current
                 // scope and use its type.
                 // FIXME: This code is formally correct, but clang doesn't currently emit DW_AT_object_pointer
                 // for C++ so it hasn't actually been tested.
@@ -1207,7 +1207,7 @@ ClangExpressionDeclMap::FindExternalVisibleDecls (NameSearchContext &context,
             {
                 // This branch will get hit if we are executing code in the context of a function that
                 // claims to have an object pointer (through DW_AT_object_pointer?) but is not formally a
-                // method of the class.  In that case, just look up the "self" variable in the the current
+                // method of the class.  In that case, just look up the "self" variable in the current
                 // scope and use its type.
 
                 VariableList *vars = frame->GetVariableList(false);
diff --git a/source/Expression/IRForTarget.cpp b/source/Expression/IRForTarget.cpp
index e1059c3..11bc011 100644
--- a/source/Expression/IRForTarget.cpp
+++ b/source/Expression/IRForTarget.cpp
@@ -1515,7 +1515,7 @@ IRForTarget::MaybeHandleVariable (Value *llvm_value_ptr)
 
         if (name[0] == '$')
         {
-            // The $__lldb_expr_result name indicates the the return value has allocated as
+            // The $__lldb_expr_result name indicates the return value has allocated as
             // a static variable.  Per the comment at ASTResultSynthesizer::SynthesizeBodyResult,
             // accesses to this static variable need to be redirected to the result of dereferencing
             // a pointer that is passed in as one of the arguments.
diff --git a/source/Host/common/SoftwareBreakpoint.cpp b/source/Host/common/SoftwareBreakpoint.cpp
index 79e8153..5a6f783 100644
--- a/source/Host/common/SoftwareBreakpoint.cpp
+++ b/source/Host/common/SoftwareBreakpoint.cpp
@@ -234,7 +234,7 @@ SoftwareBreakpoint::DoDisable ()
         if (error.Success ())
         {
             bool verify = false;
-            // Make sure we have the a breakpoint opcode exists at this address
+            // Make sure the breakpoint opcode exists at this address
             if (::memcmp (curr_break_op, m_trap_opcodes, m_opcode_size) == 0)
             {
                 break_op_found = true;
diff --git a/source/Host/macosx/Host.mm b/source/Host/macosx/Host.mm
index 6912d59..e7629c8 100644
--- a/source/Host/macosx/Host.mm
+++ b/source/Host/macosx/Host.mm
@@ -329,7 +329,7 @@ WaitForProcessToSIGSTOP (const lldb::pid_t pid, const int timeout_in_seconds)
 //            {
 //                pid = (intptr_t)accept_thread_result;
 //
-//                // Wait for process to be stopped the the entry point by watching
+//                // Wait for process to be stopped the entry point by watching
 //                // for the process status to be set to SSTOP which indicates it it
 //                // SIGSTOP'ed at the entry point
 //                WaitForProcessToSIGSTOP (pid, 5);
diff --git a/source/Interpreter/CommandInterpreter.cpp b/source/Interpreter/CommandInterpreter.cpp
index 2470809..481d69e 100644
--- a/source/Interpreter/CommandInterpreter.cpp
+++ b/source/Interpreter/CommandInterpreter.cpp
@@ -1293,7 +1293,7 @@ CommandInterpreter::GetCommandObjectForCommand (std::string &command_string)
                 CommandObject *sub_cmd_obj = cmd_obj->GetSubcommandObject (cmd_word.c_str());
                 if (sub_cmd_obj)
                     cmd_obj = sub_cmd_obj;
-                else // cmd_word was not a valid sub-command word, so we are donee
+                else // cmd_word was not a valid sub-command word, so we are done
                     done = true;
             }
             else  
@@ -1518,7 +1518,7 @@ CommandInterpreter::PreprocessCommand (std::string &command)
     {
         if (start_backtick > 0 && command[start_backtick-1] == '\\')
         {
-            // The backtick was preceeded by a '\' character, remove the slash
+            // The backtick was preceded by a '\' character, remove the slash
             // and don't treat the backtick as the start of an expression
             command.erase(start_backtick-1, 1);
             // No need to add one to start_backtick since we just deleted a char
@@ -3214,7 +3214,7 @@ CommandInterpreter::RunCommandInterpreter(bool auto_handle_events,
                                           bool spawn_thread,
                                           CommandInterpreterRunOptions &options)
 {
-    // Always re-create the command intepreter when we run it in case
+    // Always re-create the command interpreter when we run it in case
     // any file handles have changed.
     bool force_create = true;
     m_debugger.PushIOHandler(GetIOHandler(force_create, &options));
diff --git a/source/Interpreter/OptionGroupOutputFile.cpp b/source/Interpreter/OptionGroupOutputFile.cpp
index 75ae380..e95cd35 100644
--- a/source/Interpreter/OptionGroupOutputFile.cpp
+++ b/source/Interpreter/OptionGroupOutputFile.cpp
@@ -36,7 +36,7 @@ g_option_table[] =
     { LLDB_OPT_SET_1 , false, "outfile", 'o', OptionParser::eRequiredArgument, nullptr, nullptr, 0, eArgTypeFilename , "Specify a path for capturing command output."},
     { LLDB_OPT_SET_1 , false, "append-outfile" , SHORT_OPTION_APND,
       OptionParser::eNoArgument, nullptr, nullptr, 0, eArgTypeNone ,
-      "Append to the the file specified with '--outfile <path>'."},
+      "Append to the file specified with '--outfile <path>'."},
 };
 
 uint32_t
diff --git a/source/Interpreter/OptionValueDictionary.cpp b/source/Interpreter/OptionValueDictionary.cpp
index d204547..24eeec3 100644
--- a/source/Interpreter/OptionValueDictionary.cpp
+++ b/source/Interpreter/OptionValueDictionary.cpp
@@ -130,7 +130,7 @@ OptionValueDictionary::SetArgs (const Args &args, VarSetOperationType op)
                     {
                         if (key.front() == '[')
                         {
-                            // Key name starts with '[', so the the key value must be in single or double quotes like:
+                            // Key name starts with '[', so the key value must be in single or double quotes like:
                             // ['<key>']
                             // ["<key>"]
                             if ((key.size() > 2) && (key.back() == ']'))
@@ -324,7 +324,7 @@ OptionValueDictionary::GetSubValue (const ExecutionContext *exe_ctx, const char
         }
         if (!value_sp && error.AsCString() == nullptr)
         {
-            error.SetErrorStringWithFormat ("invalid value path '%s', %s values only support '[<key>]' subvalues where <key> a string value optionally delimitted by single or double quotes",
+            error.SetErrorStringWithFormat ("invalid value path '%s', %s values only support '[<key>]' subvalues where <key> a string value optionally delimited by single or double quotes",
                                             name,
                                             GetTypeAsCString());
         }
diff --git a/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
index 6078d3a..fedc3c8 100644
--- a/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+++ b/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
@@ -2321,7 +2321,7 @@ SymbolFileDWARF::ParseChildMembers
                     Type *base_class_type = ResolveTypeUID(encoding_uid);
                     if (base_class_type == NULL)
                     {
-                        GetObjectFile()->GetModule()->ReportError("0x%8.8x: DW_TAG_inheritance failed to resolve a the base class at 0x%8.8" PRIx64 " from enclosing type 0x%8.8x. \nPlease file a bug and attach the file at the start of this error message",
+                        GetObjectFile()->GetModule()->ReportError("0x%8.8x: DW_TAG_inheritance failed to resolve the base class at 0x%8.8" PRIx64 " from enclosing type 0x%8.8x. \nPlease file a bug and attach the file at the start of this error message",
                                                                   die->GetOffset(),
                                                                   encoding_uid,
                                                                   parent_die->GetOffset());
diff --git a/source/Symbol/ClangASTType.cpp b/source/Symbol/ClangASTType.cpp
index 94e0663..5ffb784 100644
--- a/source/Symbol/ClangASTType.cpp
+++ b/source/Symbol/ClangASTType.cpp
@@ -5158,7 +5158,7 @@ ClangASTType::AddMethodToCXXRecordType (const char *name,
             {
                 // Check the number of operator parameters. Sometimes we have
                 // seen bad DWARF that doesn't correctly describe operators and
-                // if we try to create a methed and add it to the class, clang
+                // if we try to create a method and add it to the class, clang
                 // will assert and crash, so we need to make sure things are
                 // acceptable.
                 if (!ClangASTContext::CheckOverloadedOperatorKindParameterCount (op_kind, num_params))
@@ -6145,7 +6145,7 @@ ClangASTType::DumpValue (ExecutionContext *exe_ctx,
             for (field = record_decl->field_begin(), field_end = record_decl->field_end(); field != field_end; ++field, ++field_idx, ++child_idx)
             {
                 // Print the starting squiggly bracket (if this is the
-                // first member) or comman (for member 2 and beyong) for
+                // first member) or comma (for member 2 and beyond) for
                 // the struct/union/class member.
                 if (child_idx == 0)
                     s->PutChar('{');
@@ -6260,7 +6260,7 @@ ClangASTType::DumpValue (ExecutionContext *exe_ctx,
                 for (element_idx = 0; element_idx < element_count; ++element_idx)
                 {
                     // Print the starting squiggly bracket (if this is the
-                    // first member) or comman (for member 2 and beyong) for
+                    // first member) or comma (for member 2 and beyond) for
                     // the struct/union/class member.
                     if (element_idx == 0)
                         s->PutChar('{');
@@ -6367,7 +6367,7 @@ ClangASTType::DumpValue (ExecutionContext *exe_ctx,
         break;
 
     default:
-        // We are down the a scalar type that we just need to display.
+        // We are down to a scalar type that we just need to display.
         data.Dump(s,
                   data_byte_offset,
                   format,
@@ -6476,7 +6476,7 @@ ClangASTType::DumpTypeValue (Stream *s,
             // format was not enum, just fall through and dump the value as requested....
                 
         default:
-            // We are down the a scalar type that we just need to display.
+            // We are down to a scalar type that we just need to display.
             {
                 uint32_t item_count = 1;
                 // A few formats, we might need to modify our size and count for depending
diff --git a/source/Symbol/CompileUnit.cpp b/source/Symbol/CompileUnit.cpp
index d8e95ce..d43ef44 100644
--- a/source/Symbol/CompileUnit.cpp
+++ b/source/Symbol/CompileUnit.cpp
@@ -149,9 +149,9 @@ CompileUnit::GetFunctionAtIndex (size_t idx)
 }
 
 //----------------------------------------------------------------------
-// Find functions using the a Mangled::Tokens token list. This
-// function currently implements an interative approach designed to find
-// all instances of certain functions. It isn't designed to the the
+// Find functions using the Mangled::Tokens token list. This
+// function currently implements an interactive approach designed to find
+// all instances of certain functions. It isn't designed to the
 // quickest way to lookup functions as it will need to iterate through
 // all functions and see if they match, though it does provide a powerful
 // and context sensitive way to search for all functions with a certain
@@ -292,7 +292,7 @@ CompileUnit::FindLineEntry (uint32_t start_idx, uint32_t line, const FileSpec* f
     else
     {
         // All the line table entries actually point to the version of the Compile
-        // Unit that is in the support files (the one at 0 was artifically added.)
+        // Unit that is in the support files (the one at 0 was artificially added.)
         // So prefer the one further on in the support files if it exists...
         FileSpecList &support_files = GetSupportFiles();
         const bool full = true;
diff --git a/source/Symbol/DWARFCallFrameInfo.cpp b/source/Symbol/DWARFCallFrameInfo.cpp
index 49e8dc5..e153bec 100644
--- a/source/Symbol/DWARFCallFrameInfo.cpp
+++ b/source/Symbol/DWARFCallFrameInfo.cpp
@@ -197,7 +197,7 @@ DWARFCallFrameInfo::ParseCIE (const dw_offset_t cie_offset)
             const size_t aug_str_len = strlen(cie_sp->augmentation);
             // A 'z' may be present as the first character of the string.
             // If present, the Augmentation Data field shall be present.
-            // The contents of the Augmentation Data shall be intepreted
+            // The contents of the Augmentation Data shall be interpreted
             // according to other characters in the Augmentation String.
             if (cie_sp->augmentation[0] == 'z')
             {
diff --git a/source/Target/Process.cpp b/source/Target/Process.cpp
index 637360d..e60fe22 100644
--- a/source/Target/Process.cpp
+++ b/source/Target/Process.cpp
@@ -2472,7 +2472,7 @@ Process::DisableSoftwareBreakpoint (BreakpointSite *bp_site)
             if (DoReadMemory (bp_addr, curr_break_op, break_op_size, error) == break_op_size)
             {
                 bool verify = false;
-                // Make sure we have the a breakpoint opcode exists at this address
+                // Make sure the breakpoint opcode exists at this address
                 if (::memcmp (curr_break_op, break_op, break_op_size) == 0)
                 {
                     break_op_found = true;
diff --git a/source/Target/ThreadPlanStepOverRange.cpp b/source/Target/ThreadPlanStepOverRange.cpp
index 0296d40..701e93d 100644
--- a/source/Target/ThreadPlanStepOverRange.cpp
+++ b/source/Target/ThreadPlanStepOverRange.cpp
@@ -246,7 +246,7 @@ ThreadPlanStepOverRange::ShouldStop (Event *event_ptr)
                          && sc.comp_unit == m_addr_context.comp_unit
                          && sc.function == m_addr_context.function)
                     {
-                        // Okay, find the next occurance of this file in the line table:
+                        // Okay, find the next occurrence of this file in the line table:
                         LineTable *line_table = m_addr_context.comp_unit->GetLineTable();
                         if (line_table)
                         {
@@ -259,7 +259,7 @@ ThreadPlanStepOverRange::ShouldStop (Event *event_ptr)
                                 bool step_past_remaining_inline = false;
                                 if (entry_idx > 0)
                                 {
-                                    // We require the the previous line entry and the current line entry come
+                                    // We require the previous line entry and the current line entry come
                                     // from the same file.
                                     // The other requirement is that the previous line table entry be part of an
                                     // inlined block, we don't want to step past cases where people have inlined
diff --git a/test/functionalities/stop-hook/TestStopHookMechanism.py b/test/functionalities/stop-hook/TestStopHookMechanism.py
index 41b791d..87be6d9 100644
--- a/test/functionalities/stop-hook/TestStopHookMechanism.py
+++ b/test/functionalities/stop-hook/TestStopHookMechanism.py
@@ -66,7 +66,7 @@ class StopHookMechanismTestCase(TestBase):
         child.expect_exact(prompt)
         child.sendline('target stop-hook list')
 
-        # Now run the program, expect to stop at the the first breakpoint which is within the stop-hook range.
+        # Now run the program, expect to stop at the first breakpoint which is within the stop-hook range.
         child.expect_exact(prompt)
         child.sendline('run')
         # Make sure we see the stop hook text from the stop of the process from the run hitting the first breakpoint
diff --git a/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py b/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
index 276bb43..1792bf9 100644
--- a/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
+++ b/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
@@ -62,7 +62,7 @@ class StopHookForMultipleThreadsTestCase(TestBase):
         child.sendline('breakpoint set -f main.cpp -l %d' % self.thread_function)
         child.expect_exact(prompt)
 
-        # Now run the program, expect to stop at the the first breakpoint which is within the stop-hook range.
+        # Now run the program, expect to stop at the first breakpoint which is within the stop-hook range.
         child.sendline('run')
         child.expect_exact("Process")   # 'Process 2415 launched', 'Process 2415 stopped'
         child.expect_exact(prompt)
diff --git a/test/functionalities/thread/create_during_step/main.cpp b/test/functionalities/thread/create_during_step/main.cpp
index f64831b..c5a36e0 100644
--- a/test/functionalities/thread/create_during_step/main.cpp
+++ b/test/functionalities/thread/create_during_step/main.cpp
@@ -8,7 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 // This test is intended to create a situation in which one thread will be
-// created while a the debugger is stepping in another thread.
+// created while the debugger is stepping in another thread.
 
 #include <pthread.h>
 #include <atomic>
diff --git a/test/functionalities/thread/exit_during_step/main.cpp b/test/functionalities/thread/exit_during_step/main.cpp
index 9949212..8c64169 100644
--- a/test/functionalities/thread/exit_during_step/main.cpp
+++ b/test/functionalities/thread/exit_during_step/main.cpp
@@ -8,7 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 // This test is intended to create a situation in which one thread will exit
-// while a the debugger is stepping in another thread.
+// while the debugger is stepping in another thread.
 
 #include <pthread.h>
 #include <unistd.h>
diff --git a/test/python_api/function_symbol/main.c b/test/python_api/function_symbol/main.c
index 1eb90d5..b60b2fa 100644
--- a/test/python_api/function_symbol/main.c
+++ b/test/python_api/function_symbol/main.c
@@ -12,11 +12,11 @@
 // SBFunction, SBSymbol, and SBAddress.
 //
 // When stopped on breakppint 1, we can get the line entry using SBFrame API
-// SBFrame.GetLineEntry().  We'll get the start address for the the line entry
+// SBFrame.GetLineEntry().  We'll get the start address for the line entry
 // with the SBAddress type, resolve the symbol context using the SBTarget API
 // SBTarget.ResolveSymbolContextForAddress() in order to get the SBSymbol.
 //
-// We then stop at breakpoint 2, get the SBFrame, and the the SBFunction object.
+// We then stop at breakpoint 2, get the SBFrame, and the SBFunction object.
 //
 // The address from calling GetStartAddress() on the symbol and the function
 // should point to the same address, and we also verify that.
diff --git a/test/redo.py b/test/redo.py
index ac42b2b..62954a1 100755
--- a/test/redo.py
+++ b/test/redo.py
@@ -44,7 +44,7 @@ def usage():
     print"""\
 Usage: redo.py [-F filename_component] [-n] [session_dir] [-d]
 where options:
--F : only consider the test for re-run if the session filename conatins the filename component
+-F : only consider the test for re-run if the session filename contains the filename component
      for example: -F x86_64
 -n : when running the tests, do not turn on trace mode, i.e, no '-t' option
      is passed to the test driver (this will run the tests faster)
diff --git a/test/types/AbstractBase.py b/test/types/AbstractBase.py
index 87ff38b..2d35601 100644
--- a/test/types/AbstractBase.py
+++ b/test/types/AbstractBase.py
@@ -125,7 +125,7 @@ class GenericTester(TestBase):
                 gl.append((var, val))
         #print "golden list:", gl
 
-        # This test uses a #include of a the "basic_type.cpp" so we need to enable
+        # This test uses a #include of "basic_type.cpp" so we need to enable
         # always setting inlined breakpoints.
         self.runCmd('settings set target.inline-breakpoint-strategy always')
         # And add hooks to restore the settings during tearDown().
@@ -154,7 +154,7 @@ class GenericTester(TestBase):
             output = self.res.GetOutput()
 
             # The input type is in a canonical form as a set of named atoms.
-            # The display type string must conatin each and every element.
+            # The display type string must contain each and every element.
             #
             # Example:
             #     runCmd: frame variable --show-types a_array_bounded[0]
@@ -209,7 +209,7 @@ class GenericTester(TestBase):
                 gl.append((var, val))
         #print "golden list:", gl
 
-        # This test uses a #include of a the "basic_type.cpp" so we need to enable
+        # This test uses a #include of "basic_type.cpp" so we need to enable
         # always setting inlined breakpoints.
         self.runCmd('settings set target.inline-breakpoint-strategy always')
         # And add hooks to restore the settings during tearDown().
@@ -238,7 +238,7 @@ class GenericTester(TestBase):
             output = self.res.GetOutput()
 
             # The input type is in a canonical form as a set of named atoms.
-            # The display type string must conatin each and every element.
+            # The display type string must contain each and every element.
             #
             # Example:
             #     runCmd: expr a
diff --git a/tools/compact-unwind/compact-unwind-dumper.c b/tools/compact-unwind/compact-unwind-dumper.c
index 0f898db..d6bd72d 100644
--- a/tools/compact-unwind/compact-unwind-dumper.c
+++ b/tools/compact-unwind/compact-unwind-dumper.c
@@ -1051,7 +1051,7 @@ print_second_level_index_regular (struct baton baton)
         // UNWIND_SECOND_LEVEL_REGULAR entries have a funcOffset which includes the 
         // functionOffset from the containing index table already.  UNWIND_SECOND_LEVEL_COMPRESSED
         // entries only have the offset from the containing index table functionOffset.
-        // So strip off the contianing index table functionOffset value here so they can
+        // So strip off the containing index table functionOffset value here so they can
         // be treated the same at the lower layers.
 
         print_function_encoding (baton, idx, encoding, (uint32_t) -1, func_offset - baton.first_level_index_entry.functionOffset);
diff --git a/tools/debugserver/source/DNBDefs.h b/tools/debugserver/source/DNBDefs.h
index a8c5fd9..15c33d5 100644
--- a/tools/debugserver/source/DNBDefs.h
+++ b/tools/debugserver/source/DNBDefs.h
@@ -329,7 +329,7 @@ struct DNBExecutableImageInfo
     char        name[PATH_MAX]; // Name of the executable image (usually a full path)
     uint32_t    state;          // State of the executable image (see enum DNBSharedLibraryState)
     nub_addr_t  header_addr;    // Executable header address
-    uuid_t      uuid;           // Unique indentifier for matching with symbols
+    uuid_t      uuid;           // Unique identifier for matching with symbols
     uint32_t    num_segments;   // Number of contiguous memory segments to in SEGMENTS array
     DNBSegment  *segments;      // Array of contiguous memory segments in executable
 };
diff --git a/tools/lldb-mi/MICmdArgValString.cpp b/tools/lldb-mi/MICmdArgValString.cpp
index 37e0278..7dd5b2e 100644
--- a/tools/lldb-mi/MICmdArgValString.cpp
+++ b/tools/lldb-mi/MICmdArgValString.cpp
@@ -271,7 +271,7 @@ CMICmdArgValString::IsStringArgQuotedText(const CMIUtilString &vrTxt) const
     if (nPos == (MIint)(vrTxt.length() - 1))
         return false;
 
-    // Quote must be the first character in the string or be preceeded by a space
+    // Quote must be the first character in the string or be preceded by a space
     // Also check for embedded string formating quote
     const MIchar cBckSlash = '\\';
     const MIchar cSpace = ' ';
@@ -313,7 +313,7 @@ CMICmdArgValString::IsStringArgQuotedTextEmbedded(const CMIUtilString &vrTxt) co
     if (nPos == (MIint)std::string::npos)
         return false;
 
-    // Slash must be the first character in the string or be preceeded by a space
+    // Slash must be the first character in the string or be preceded by a space
     const MIchar cSpace = ' ';
     if ((nPos > 0) && (vrTxt[nPos - 1] != cSpace))
         return false;
diff --git a/tools/lldb-mi/MICmdCmdMiscellanous.cpp b/tools/lldb-mi/MICmdCmdMiscellanous.cpp
index 1535aca..e7fc5d3 100644
--- a/tools/lldb-mi/MICmdCmdMiscellanous.cpp
+++ b/tools/lldb-mi/MICmdCmdMiscellanous.cpp
@@ -399,7 +399,7 @@ CMICmdCmdListThreadGroups::CreateSelf(void)
 // Throws:  None.
 //--
 CMICmdCmdInterpreterExec::CMICmdCmdInterpreterExec(void)
-    : m_constStrArgNamedInterpreter("intepreter")
+    : m_constStrArgNamedInterpreter("interpreter")
     , m_constStrArgNamedCommand("command")
 {
     // Command factory matches this name with that received from the stdin stream
diff --git a/tools/lldb-mi/MICmdInterpreter.cpp b/tools/lldb-mi/MICmdInterpreter.cpp
index c420fa8..6d47315 100644
--- a/tools/lldb-mi/MICmdInterpreter.cpp
+++ b/tools/lldb-mi/MICmdInterpreter.cpp
@@ -105,8 +105,8 @@ CMICmdInterpreter::ValidateIsMi(const CMIUtilString &vTextLine, bool &vwbYesVali
     m_miCmdData.Clear();
     m_miCmdData.strMiCmd = vTextLine;
 
-    // The following change m_miCmdData as valid parts are indentified
-    vwbYesValid = (MiHasCmdTokenEndingHypthen(vTextLine) || MiHasCmdTokenEndingAlpha(vTextLine));
+    // The following change m_miCmdData as valid parts are identified
+    vwbYesValid = (MiHasCmdTokenEndingHyphen(vTextLine) || MiHasCmdTokenEndingAlpha(vTextLine));
     vwbYesValid = vwbYesValid && MiHasCmd(vTextLine);
     if (vwbYesValid)
     {
@@ -150,9 +150,9 @@ CMICmdInterpreter::HasCmdFactoryGotMiCmd(const SMICmdData &vCmd) const
 // Throws:  None.
 //--
 bool
-CMICmdInterpreter::MiHasCmdTokenEndingHypthen(const CMIUtilString &vTextLine)
+CMICmdInterpreter::MiHasCmdTokenEndingHyphen(const CMIUtilString &vTextLine)
 {
-    // The hythen is mandatory
+    // The hyphen is mandatory
     const MIint nPos = vTextLine.find("-", 0);
     if ((nPos == (MIint)std::string::npos))
         return false;
@@ -206,7 +206,7 @@ CMICmdInterpreter::MiHasCmdTokenEndingAlpha(const CMIUtilString &vTextLine)
 
 //++ ------------------------------------------------------------------------------------
 // Details: Does the command entered match the criteria for a MI command format.
-//          Is the command token present before the hypen?
+//          Is the command token present before the hyphen?
 // Type:    Method.
 // Args:    vTextLine - (R) Text data to interpret.
 // Return:  bool  - True = yes command token present, false = token not present.
@@ -221,7 +221,7 @@ CMICmdInterpreter::MiHasCmdTokenPresent(const CMIUtilString &vTextLine)
 
 //++ ------------------------------------------------------------------------------------
 // Details: Does the command name entered match the criteria for a MI command format.
-//          Is a recogised command present? The command name is entered into the
+//          Is a recognised command present? The command name is entered into the
 //          command meta data structure whether correct or not for reporting or later
 //          command execution purposes. Command options is present are also put into the
 //          command meta data structure.
diff --git a/tools/lldb-mi/MICmdInterpreter.h b/tools/lldb-mi/MICmdInterpreter.h
index 8b56b6f..acb0522 100644
--- a/tools/lldb-mi/MICmdInterpreter.h
+++ b/tools/lldb-mi/MICmdInterpreter.h
@@ -46,7 +46,7 @@ class CMICmdInterpreter : public CMICmnBase, public MI::ISingleton<CMICmdInterpr
     void operator=(const CMICmdInterpreter &);
 
     bool HasCmdFactoryGotMiCmd(const SMICmdData &vCmdData) const;
-    bool MiHasCmdTokenEndingHypthen(const CMIUtilString &vTextLine);
+    bool MiHasCmdTokenEndingHyphen(const CMIUtilString &vTextLine);
     bool MiHasCmdTokenEndingAlpha(const CMIUtilString &vTextLine);
     bool MiHasCmd(const CMIUtilString &vTextLine);
     bool MiHasCmdTokenPresent(const CMIUtilString &vTextLine);
diff --git a/tools/lldb-mi/MICmnLLDBDebugger.cpp b/tools/lldb-mi/MICmnLLDBDebugger.cpp
index b145584..6209b68 100644
--- a/tools/lldb-mi/MICmnLLDBDebugger.cpp
+++ b/tools/lldb-mi/MICmnLLDBDebugger.cpp
@@ -334,7 +334,7 @@ CMICmnLLDBDebugger::InitStdStreams(void)
 }
 
 //++ ------------------------------------------------------------------------------------
-// Details: Set up the events from the SBDebugger's we would to listent to.
+// Details: Set up the events from the SBDebugger's we would like to listen to.
 // Type:    Method.
 // Args:    None.
 // Return:  MIstatus::success - Functionality succeeded.
@@ -687,7 +687,7 @@ CMICmnLLDBDebugger::ClientGetTheirMask(const CMIUtilString &vClientName, const C
         vwEventMask = (*it).second;
     }
 
-    SetErrorDescription(CMIUtilString::Format(MIRSRC(IDS_LLDBDEBUGGER_ERR_CLIENTNOTREGISTERD), vClientName.c_str()));
+    SetErrorDescription(CMIUtilString::Format(MIRSRC(IDS_LLDBDEBUGGER_ERR_CLIENTNOTREGISTERED), vClientName.c_str()));
 
     return MIstatus::failure;
 }
@@ -696,7 +696,7 @@ CMICmnLLDBDebugger::ClientGetTheirMask(const CMIUtilString &vClientName, const C
 // Details: Momentarily wait for an events being broadcast and inspect those that do
 //          come this way. Check if the target should exit event if so start shutting
 //          down this thread and the application. Any other events pass on to the
-//          Out-of-band handler to futher determine what kind of event arrived.
+//          Out-of-band handler to further determine what kind of event arrived.
 //          This function runs in the thread "MI debugger event".
 // Type:    Method.
 // Args:    vrbIsAlive  - (W) False = yes exit event monitoring thread, true = continue.
diff --git a/tools/lldb-mi/MICmnResources.cpp b/tools/lldb-mi/MICmnResources.cpp
index 4fe0e56..bb4f5cf 100644
--- a/tools/lldb-mi/MICmnResources.cpp
+++ b/tools/lldb-mi/MICmnResources.cpp
@@ -124,7 +124,7 @@ const CMICmnResources::SRsrcTextData CMICmnResources::ms_pResourceId2TextData[]
     {IDS_LLDBDEBUGGER_ERR_THREAD_DELETE, "LLDB Debugger. Thread failed to delete '%s'"},
     {IDS_LLDBDEBUGGER_ERR_INVALIDBROADCASTER, "LLDB Debugger. Invalid SB broadcaster class name '%s' "},
     {IDS_LLDBDEBUGGER_ERR_INVALIDCLIENTNAME, "LLDB Debugger. Invalid client name '%s' "},
-    {IDS_LLDBDEBUGGER_ERR_CLIENTNOTREGISTERD, "LLDB Debugger. Client name '%s' not registered for listening events"},
+    {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_WRN_UNKNOWN_EVENT, "LLDB Debugger. Unhandled event '%s'"},
@@ -243,7 +243,7 @@ const CMICmnResources::SRsrcTextData CMICmnResources::ms_pResourceId2TextData[]
     {IDS_CMD_ERR_LLDB_ERR_WRITE_MEM_BYTES, "Command '%s'. Unable to write memory block of %u bytes at address 0x%016" PRIx64 ": %s "},
     {IDS_CMD_ERR_LLDB_ERR_NOT_WRITE_WHOLEBLK, "Command '%s'. LLDB unable to write entire memory block of %u bytes at address 0x%016" PRIX64},
     {IDS_CMD_ERR_SET_NEW_DRIVER_STATE, "Command '%s'. Command tried to set new MI Driver running state and failed. %s"},
-    {IDS_CMD_ERR_INFO_PRINTFN_NOT_FOUND, "The request '%s' was not recogised, not implemented"},
+    {IDS_CMD_ERR_INFO_PRINTFN_NOT_FOUND, "The request '%s' was not recognised, not implemented"},
     {IDS_CMD_ERR_INFO_PRINTFN_FAILED, "The request '%s' failed."},
     {IDS_CMD_ERR_GDBSET_OPT_TARGETASYNC, "'target-async' expects \"on\" or \"off\""},
     {IDS_CMD_ERR_GDBSET_OPT_SOLIBSEARCHPATH, "'solib-search-path' requires at least one argument"},
@@ -382,7 +382,7 @@ CMICmnResources::HasString(const MIuint vResourceId) const
 }
 
 //++ ------------------------------------------------------------------------------------
-// Details: Retrieve the resource text data for the given resource ID. If a resourse ID
+// Details: Retrieve the resource text data for the given resource ID. If a resource ID
 //          cannot be found and error is given returning the ID of the resource that
 //          cannot be located.
 // Type:    Method.
diff --git a/tools/lldb-mi/MICmnResources.h b/tools/lldb-mi/MICmnResources.h
index a470bb5..fe85dcc 100644
--- a/tools/lldb-mi/MICmnResources.h
+++ b/tools/lldb-mi/MICmnResources.h
@@ -137,7 +137,7 @@ enum
     IDS_LLDBDEBUGGER_ERR_THREAD_DELETE,
     IDS_LLDBDEBUGGER_ERR_INVALIDBROADCASTER,
     IDS_LLDBDEBUGGER_ERR_INVALIDCLIENTNAME,
-    IDS_LLDBDEBUGGER_ERR_CLIENTNOTREGISTERD,
+    IDS_LLDBDEBUGGER_ERR_CLIENTNOTREGISTERED,
     IDS_LLDBDEBUGGER_ERR_STOPLISTENER,
     IDS_LLDBDEBUGGER_ERR_BROARDCASTER_NAME,
     IDS_LLDBDEBUGGER_WRN_UNKNOWN_EVENT,
diff --git a/tools/lldb-mi/MIDriver.cpp b/tools/lldb-mi/MIDriver.cpp
index 4012bb9..eb4de6d 100644
--- a/tools/lldb-mi/MIDriver.cpp
+++ b/tools/lldb-mi/MIDriver.cpp
@@ -73,7 +73,7 @@ CMIDriver::~CMIDriver(void)
 //++ ------------------------------------------------------------------------------------
 // Details: Set whether *this driver (the parent) is enabled to pass a command to its
 //          fall through (child) driver to interpret the command and do work instead
-//          (if *this driver decides it can't hanled the command).
+//          (if *this driver decides it can't handle the command).
 // Type:    Method.
 // Args:    vbYes   - (R) True = yes fall through, false = do not pass on command.
 // Return:  MIstatus::success - Functional succeeded.
@@ -90,7 +90,7 @@ CMIDriver::SetEnableFallThru(const bool vbYes)
 //++ ------------------------------------------------------------------------------------
 // Details: Get whether *this driver (the parent) is enabled to pass a command to its
 //          fall through (child) driver to interpret the command and do work instead
-//          (if *this driver decides it can't hanled the command).
+//          (if *this driver decides it can't handle the command).
 // Type:    Method.
 // Args:    None.
 // Return:  bool - True = yes fall through, false = do not pass on command.
@@ -378,7 +378,7 @@ CMIDriver::DoParseArgs(const int argc, const char *argv[], FILE *vpStdOut, bool
 //          --interpreter and also passes additional arguments which can be interpreted as an
 //          executable if called from the command line. Using --executable tells the MI Driver
 //          it is being called from the command line and to prepare to launch the executable
-//          argument for a debug session. Using --interpreter on the commnd line does not
+//          argument for a debug session. Using --interpreter on the command line does not
 //          issue additional commands to initialise a debug session.
 // Type:    Overridden.
 // Args:    argc        - (R)   An integer that contains the count of arguments that follow in
@@ -944,7 +944,7 @@ CMIDriver::InterpretCommandThisDriver(const CMIUtilString &vTextLine, bool &vwbC
 
     // Check for escape character, may be cursor control characters
     // This code is not necessary for application operation, just want to keep tabs on what
-    // is been given to the driver to try and intepret.
+    // has been given to the driver to try and interpret.
     if (vMITextLine.at(0) == 27)
     {
         CMIUtilString logInput(MIRSRC(IDS_STDIN_INPUT_CTRL_CHARS));
diff --git a/tools/lldb-mi/MIDriverMgr.cpp b/tools/lldb-mi/MIDriverMgr.cpp
index ce2e86c..b5e27dd 100644
--- a/tools/lldb-mi/MIDriverMgr.cpp
+++ b/tools/lldb-mi/MIDriverMgr.cpp
@@ -436,7 +436,7 @@ CMIDriverMgr::DriverGetTheDebugger(void)
 //          executable if called from the command line. Using --executable tells the MI
 //          Driver is being called the command line and that the executable argument is indeed
 //          a specified executable an so actions commands to set up the executable for a
-//          debug session. Using --interpreter on the commnd line does not action additional
+//          debug session. Using --interpreter on the command line does not action additional
 //          commands to initialise a debug session and so be able to launch the process. The directory
 //          where the log file is created is specified using --log-dir.
 // Type:    Method.
@@ -538,7 +538,7 @@ CMIDriverMgr::ParseArgs(const int argc, const char *argv[], bool &vwbExiting)
         bOk = bOk && CMICmnLogMediumFile::Instance().SetDirectory(strLogDir);
     }
 
-    // Todo: Remove this output when MI is finished. It is temporary to persuade Ecllipse plugin to work.
+    // Todo: Remove this output when MI is finished. It is temporary to persuade Eclipse plugin to work.
     //       Eclipse reads this literally and will not work unless it gets this exact version text.
     // Handle --version option (ignore the --interpreter option if present)
     if (bHaveArgVersion)
@@ -548,7 +548,7 @@ CMIDriverMgr::ParseArgs(const int argc, const char *argv[], bool &vwbExiting)
         return bOk;
     }
 
-    // Todo: Make this the --version when the the above --version version is removed
+    // Todo: Make this the --version when the above --version version is removed
     // Handle --versionlong option (ignore the --interpreter option if present)
     if (bHaveArgVersionLong)
     {
@@ -557,7 +557,7 @@ CMIDriverMgr::ParseArgs(const int argc, const char *argv[], bool &vwbExiting)
         return bOk;
     }
 
-    // Both '--help' and '--intepreter' means give help for MI only. Without
+    // Both '--help' and '--interpreter' means give help for MI only. Without
     // '--interpreter' help the LLDB driver is working and so help is for that.
     if (bHaveArgHelp && bHaveArgInterpret)
     {
@@ -567,7 +567,7 @@ CMIDriverMgr::ParseArgs(const int argc, const char *argv[], bool &vwbExiting)
     }
 
     // This makes the assumption that there is at least one MI compatible
-    // driver registered and one LLDB driver registerd and the CMIDriver
+    // driver registered and one LLDB driver registered and the CMIDriver
     // is the first one found.
     // ToDo: Implement a better solution that handle any order, any number
     // of drivers. Or this 'feature' may be removed if deemed not required.
diff --git a/tools/lldb-mi/MIUtilString.cpp b/tools/lldb-mi/MIUtilString.cpp
index 9f45224..ea619c6 100644
--- a/tools/lldb-mi/MIUtilString.cpp
+++ b/tools/lldb-mi/MIUtilString.cpp
@@ -55,7 +55,7 @@ CMIUtilString::CMIUtilString(const MIchar *const *vpData)
 }
 
 //++ ------------------------------------------------------------------------------------
-// Details: CMIUtilString assigment operator.
+// Details: CMIUtilString assignment operator.
 // Type:    Method.
 // Args:    vpRhs   - Pointer to UTF8 text data.
 // Return:  CMIUtilString & - *this string.
@@ -75,7 +75,7 @@ CMIUtilString &CMIUtilString::operator=(const MIchar *vpRhs)
 }
 
 //++ ------------------------------------------------------------------------------------
-// Details: CMIUtilString assigment operator.
+// Details: CMIUtilString assignment operator.
 // Type:    Method.
 // Args:    vrRhs   - The other string to copy from.
 // Return:  CMIUtilString & - *this string.
@@ -244,7 +244,7 @@ CMIUtilString::Split(const CMIUtilString &vDelimiter, VecString_t &vwVecSplits)
 // Details: Splits string into array of strings using delimiter. However the string is
 //          also considered for text surrounded by quotes. Text with quotes including the
 //          delimiter is treated as a whole. If multiple delimiter are found in sequence
-//          then they are not added to the list of splits. Quotes that are embedded in the
+//          then they are not added to the list of splits. Quotes that are embedded in
 //          the string as string formatted quotes are ignored (proceeded by a '\\') i.e.
 //          "\"MI GDB local C++.cpp\":88".
 // Type:    Method.
@@ -422,7 +422,7 @@ CMIUtilString::IsHexadecimalNumber(void) const
 // Details: Extract the number from the string. The number can be either a hexadecimal or
 //          natural number. It cannot contain other non-numeric characters.
 // Type:    Method.
-// Args:    vwrNumber   - (W) Number exracted from the string.
+// Args:    vwrNumber   - (W) Number extracted from the string.
 // Return:  bool - True = yes number, false not a number.
 // Throws:  None.
 //--
@@ -448,7 +448,7 @@ CMIUtilString::ExtractNumber(MIint64 &vwrNumber) const
 //++ ------------------------------------------------------------------------------------
 // Details: Extract the number from the hexadecimal string..
 // Type:    Method.
-// Args:    vwrNumber   - (W) Number exracted from the string.
+// Args:    vwrNumber   - (W) Number extracted from the string.
 // Return:  bool - True = yes number, false not a number.
 // Throws:  None.
 //--
@@ -668,7 +668,7 @@ CMIUtilString::IsQuoted(void) const
 }
 
 //++ ------------------------------------------------------------------------------------
-// Details: Find first occurence in *this string which maches the pattern.
+// Details: Find first occurrence in *this string which matches the pattern.
 // Type:    Method.
 // Args:    vrPattern   - (R) The pattern to search for.
 //          vnPos       - (R) The starting position at which to start searching. (Dflt = 0)
@@ -682,7 +682,7 @@ CMIUtilString::FindFirst(const CMIUtilString &vrPattern, const MIuint vnPos /* =
 }
 
 //++ ------------------------------------------------------------------------------------
-// Details: Find first occurence in *this string which maches the pattern and isn't surrounded by quotes.
+// Details: Find first occurrence in *this string which matches the pattern and isn't surrounded by quotes.
 // Type:    Method.
 // Args:    vrPattern                 - (R) The pattern to search for.
 //          vbSkipQuotedText          - (R) True = don't look at quoted text, false = otherwise.
@@ -728,7 +728,7 @@ CMIUtilString::FindFirst(const CMIUtilString &vrPattern, const bool vbSkipQuoted
 }
 
 //++ ------------------------------------------------------------------------------------
-// Details: Find first occurence in *this string which doesn't mach to the pattern.
+// Details: Find first occurrence in *this string which doesn't match the pattern.
 // Type:    Method.
 // Args:    vrPattern   - (R) The pattern to search for.
 //          vnPos       - (R) Position of the first character in the string to be considered in the search. (Dflt = 0)
@@ -755,7 +755,7 @@ CMIUtilString::FindFirstNot(const CMIUtilString &vrPattern, const MIuint vnPos /
 }
 
 //++ ------------------------------------------------------------------------------------
-// Details: Find first occurence of not escaped quotation mark in *this string.
+// Details: Find first occurrence of not escaped quotation mark in *this string.
 // Type:    Method.
 // Args:    vnPos   - (R) Position of the first character in the string to be considered in the search.
 // Return:  MIuint - The position of the quotation mark.
diff --git a/tools/lldb-server/lldb-gdbserver.cpp b/tools/lldb-server/lldb-gdbserver.cpp
index be16eac..a286e3d 100644
--- a/tools/lldb-server/lldb-gdbserver.cpp
+++ b/tools/lldb-server/lldb-gdbserver.cpp
@@ -219,7 +219,7 @@ handle_attach (GDBRemoteCommunicationServerLLGS &gdb_server, const std::string &
 {
     assert (!attach_target.empty () && "attach_target cannot be empty");
 
-    // First check if the attach_target is convertable to a long. If so, we'll use it as a pid.
+    // First check if the attach_target is convertible to a long. If so, we'll use it as a pid.
     char *end_p = nullptr;
     const long int pid = strtol (attach_target.c_str (), &end_p, 10);
 
@@ -676,7 +676,7 @@ main_gdbserver (int argc, char *argv[])
     argc -= 1;
     argv += 1;
 
-    // Any arguments left over are for the the program that we need to launch. If there
+    // Any arguments left over are for the program that we need to launch. If there
     // are no arguments, then the GDB server will start up and wait for an 'A' packet
     // to launch a program, or a vAttach packet to attach to an existing process, unless
     // explicitly asked to attach with the --attach={pid|program_name} form.
diff --git a/www/python-reference.html b/www/python-reference.html
index bb45062..4869c4f 100755
--- a/www/python-reference.html
+++ b/www/python-reference.html
@@ -418,7 +418,7 @@ Enter your Python command(s). Type 'DONE' to end.
 		<code>
 			<font color=blue>class</font> CommandObjectType:<br/>
 			    <font color=blue>def</font> __init__(self, debugger, session_dict):<br/>
-			        <i>this call should initialize the command with respect to the command interpeter for the passed-in debugger</i> <br/>
+			        <i>this call should initialize the command with respect to the command interpreter for the passed-in debugger</i> <br/>
 			    <font color=blue>def</font> __call__(self, debugger, command, exe_ctx, result): <br/>
 			        <i>this is the actual bulk of the command, akin to Python command functions</i> <br/>
 			    <font color=blue>def</font> get_short_help(self): <br/>
@@ -444,7 +444,7 @@ Enter your Python command(s). Type 'DONE' to end.
 
         <p>where <b>debugger</b> and <b>internal_dict</b> are as above, that function will get run when the module is loaded
            allowing you to add whatever commands you want into the current debugger. Note that
-           this function will only be run when using the LLDB comand <b>command script import</b>,
+           this function will only be run when using the LLDB command <b>command script import</b>,
            it will not get run if anyone imports your module from another module. 
            If you want to always run code when your module is loaded from LLDB
            <u>or</u> when loaded via an <b>import</b> statement in python code
diff --git a/www/python_reference/lldb-module.html b/www/python_reference/lldb-module.html
index dc972a7..5b351bc 100644
--- a/www/python_reference/lldb-module.html
+++ b/www/python_reference/lldb-module.html
@@ -71,9 +71,9 @@ o SBFrame: Represents one of the stack frames associated with a thread. SBThread
 o SBSymbolContext: A container that stores various debugger related info.
 o SBValue: Represents the value of a variable, a register, or an expression.
 o SBModule: Represents an executable image and its associated object and symbol
-      files.  SBTarget conatins SBModule(s).
+      files.  SBTarget contains SBModule(s).
 o SBBreakpoint: Represents a logical breakpoint and its associated settings.
-      SBTarget conatins SBBreakpoint(s).
+      SBTarget contains SBBreakpoint(s).
 o SBSymbol: Represents the symbol possibly associated with a stack frame.
 o SBCompileUnit: Represents a compilation unit, or compiled source file.
 o SBFunction: Represents a generic function, which can be inlined or not.
diff --git a/www/python_reference/lldb-pysrc.html b/www/python_reference/lldb-pysrc.html
index b9200ee..43a1c03 100644
--- a/www/python_reference/lldb-pysrc.html
+++ b/www/python_reference/lldb-pysrc.html
@@ -77,9 +77,9 @@
 <a name="L18"></a><tt class="py-lineno">   18</tt>  <tt class="py-line"><tt class="py-docstring">o SBSymbolContext: A container that stores various debugger related info.</tt> </tt>
 <a name="L19"></a><tt class="py-lineno">   19</tt>  <tt class="py-line"><tt class="py-docstring">o SBValue: Represents the value of a variable, a register, or an expression.</tt> </tt>
 <a name="L20"></a><tt class="py-lineno">   20</tt>  <tt class="py-line"><tt class="py-docstring">o SBModule: Represents an executable image and its associated object and symbol</tt> </tt>
-<a name="L21"></a><tt class="py-lineno">   21</tt>  <tt class="py-line"><tt class="py-docstring">      files.  SBTarget conatins SBModule(s).</tt> </tt>
+<a name="L21"></a><tt class="py-lineno">   21</tt>  <tt class="py-line"><tt class="py-docstring">      files.  SBTarget contains SBModule(s).</tt> </tt>
 <a name="L22"></a><tt class="py-lineno">   22</tt>  <tt class="py-line"><tt class="py-docstring">o SBBreakpoint: Represents a logical breakpoint and its associated settings.</tt> </tt>
-<a name="L23"></a><tt class="py-lineno">   23</tt>  <tt class="py-line"><tt class="py-docstring">      SBTarget conatins SBBreakpoint(s).</tt> </tt>
+<a name="L23"></a><tt class="py-lineno">   23</tt>  <tt class="py-line"><tt class="py-docstring">      SBTarget contains SBBreakpoint(s).</tt> </tt>
 <a name="L24"></a><tt class="py-lineno">   24</tt>  <tt class="py-line"><tt class="py-docstring">o SBSymbol: Represents the symbol possibly associated with a stack frame.</tt> </tt>
 <a name="L25"></a><tt class="py-lineno">   25</tt>  <tt class="py-line"><tt class="py-docstring">o SBCompileUnit: Represents a compilation unit, or compiled source file.</tt> </tt>
 <a name="L26"></a><tt class="py-lineno">   26</tt>  <tt class="py-line"><tt class="py-docstring">o SBFunction: Represents a generic function, which can be inlined or not.</tt> </tt>
diff --git a/www/remote.html b/www/remote.html
index 913228a..e5fc2d2 100644
--- a/www/remote.html
+++ b/www/remote.html
@@ -64,7 +64,7 @@
             <p>
               On Linux and Android, all required remote functionality is contained in the
               <code>lldb-server</code> binary. This binary combines the functionality of the
-              platform and gdb-remote stub. A single binary fascilitates deployment and reduces
+              platform and gdb-remote stub. A single binary facilitates deployment and reduces
               code size, since the two functions share a lot of code. The
               <code>lldb-server</code> binary is also statically linked with the rest of LLDB
               (unlike <code>lldb</code>, which dynamically links to <code>liblldb.so</code> by


More information about the lldb-commits mailing list