[Lldb-commits] [lldb] r248243 - Fix typos.

Bruce Mitchener via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 21 22:07:57 PDT 2015


Author: brucem
Date: Tue Sep 22 00:07:56 2015
New Revision: 248243

URL: http://llvm.org/viewvc/llvm-project?rev=248243&view=rev
Log:
Fix typos.

Summary: Another round of minor typo fixes.

Reviewers: clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D13026

Modified:
    lldb/trunk/examples/python/symbolication.py
    lldb/trunk/examples/summaries/cocoa/CFArray.py
    lldb/trunk/examples/synthetic/gnu_libstdcpp.py
    lldb/trunk/examples/synthetic/libcxx.py
    lldb/trunk/include/lldb/lldb-private-types.h
    lldb/trunk/source/API/SBProcess.cpp
    lldb/trunk/source/Core/RegisterValue.cpp
    lldb/trunk/tools/debugserver/source/RNBRemote.cpp
    lldb/trunk/www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html
    lldb/trunk/www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html

Modified: lldb/trunk/examples/python/symbolication.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/symbolication.py?rev=248243&r1=248242&r2=248243&view=diff
==============================================================================
--- lldb/trunk/examples/python/symbolication.py (original)
+++ lldb/trunk/examples/python/symbolication.py Tue Sep 22 00:07:56 2015
@@ -223,7 +223,7 @@ class Image:
         
     @classmethod
     def InitWithSBTargetAndSBModule(cls, target, module):
-        '''Initalize this Image object with a module from a target.'''
+        '''Initialize this Image object with a module from a target.'''
         obj = cls(module.file.fullpath, module.uuid)
         obj.resolved_path = module.platform_file.fullpath
         obj.resolved = True

Modified: lldb/trunk/examples/summaries/cocoa/CFArray.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/summaries/cocoa/CFArray.py?rev=248243&r1=248242&r2=248243&view=diff
==============================================================================
--- lldb/trunk/examples/summaries/cocoa/CFArray.py (original)
+++ lldb/trunk/examples/summaries/cocoa/CFArray.py Tue Sep 22 00:07:56 2015
@@ -147,7 +147,7 @@ class NSArray_SynthProvider:
 			return
 		self.wrapper.update()
 
-	# this code acts as our defense against NULL and unitialized
+	# this code acts as our defense against NULL and uninitialized
 	# NSArray pointers, which makes it much longer than it would be otherwise
 	def make_wrapper(self):
 		logger = lldb.formatters.Logger.Logger()

Modified: lldb/trunk/examples/synthetic/gnu_libstdcpp.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/synthetic/gnu_libstdcpp.py?rev=248243&r1=248242&r2=248243&view=diff
==============================================================================
--- lldb/trunk/examples/synthetic/gnu_libstdcpp.py (original)
+++ lldb/trunk/examples/synthetic/gnu_libstdcpp.py Tue Sep 22 00:07:56 2015
@@ -27,7 +27,7 @@ class StdListSynthProvider:
 		logger = lldb.formatters.Logger.Logger()
 		return node.GetValueAsUnsigned()
 
-	# Floyd's cyle-finding algorithm
+	# Floyd's cycle-finding algorithm
 	# try to detect if this list has a loop
 	def has_loop(self):
 		global _list_uses_loop_detector
@@ -154,7 +154,7 @@ class StdVectorSynthProvider:
 				end_val  = self.end.GetValueAsUnsigned(0)
 				# Before a vector has been constructed, it will contain bad values
 				# so we really need to be careful about the length we return since
-				# unitialized data can cause us to return a huge number. We need
+				# uninitialized data can cause us to return a huge number. We need
 				# to also check for any of the start, finish or end of storage values
 				# being zero (NULL). If any are, then this vector has not been
 				# initialized yet and we should return zero

Modified: lldb/trunk/examples/synthetic/libcxx.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/synthetic/libcxx.py?rev=248243&r1=248242&r2=248243&view=diff
==============================================================================
--- lldb/trunk/examples/synthetic/libcxx.py (original)
+++ lldb/trunk/examples/synthetic/libcxx.py Tue Sep 22 00:07:56 2015
@@ -73,7 +73,7 @@ class stdvector_SynthProvider:
 			finish_val = self.finish.GetValueAsUnsigned(0)
 			# Before a vector has been constructed, it will contain bad values
 			# so we really need to be careful about the length we return since
-			# unitialized data can cause us to return a huge number. We need
+			# uninitialized data can cause us to return a huge number. We need
 			# to also check for any of the start, finish or end of storage values
 			# being zero (NULL). If any are, then this vector has not been 
 			# initialized yet and we should return zero
@@ -219,7 +219,7 @@ class stdlist_SynthProvider:
 		logger = lldb.formatters.Logger.Logger()
 		return node.GetValueAsUnsigned()
 
-	# Floyd's cyle-finding algorithm
+	# Floyd's cycle-finding algorithm
 	# try to detect if this list has a loop
 	def has_loop(self):
 		global _list_uses_loop_detector

Modified: lldb/trunk/include/lldb/lldb-private-types.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/lldb-private-types.h?rev=248243&r1=248242&r2=248243&view=diff
==============================================================================
--- lldb/trunk/include/lldb/lldb-private-types.h (original)
+++ lldb/trunk/include/lldb/lldb-private-types.h Tue Sep 22 00:07:56 2015
@@ -51,7 +51,7 @@ namespace lldb_private
                                    // for this register will be valid.  For example, the value list for ah
                                    // would be eax (x86) or rax (x64).
         uint32_t *invalidate_regs; // List of registers (terminated with LLDB_INVALID_REGNUM).  If this value is not
-                                   // null, all registers in this list will be invalidateed when the value of this
+                                   // null, all registers in this list will be invalidated when the value of this
                                    // register changes.  For example, the invalidate list for eax would be rax
                                    // ax, ah, and al.
     } RegisterInfo;

Modified: lldb/trunk/source/API/SBProcess.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBProcess.cpp?rev=248243&r1=248242&r2=248243&view=diff
==============================================================================
--- lldb/trunk/source/API/SBProcess.cpp (original)
+++ lldb/trunk/source/API/SBProcess.cpp Tue Sep 22 00:07:56 2015
@@ -409,7 +409,7 @@ SBProcess::GetAsyncProfileData(char *dst
 
     Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
     if (log)
-        log->Printf ("SBProcess(%p)::GetProfileData (dst=\"%.*s\", dst_len=%" PRIu64 ") => %" PRIu64,
+        log->Printf ("SBProcess(%p)::GetAsyncProfileData (dst=\"%.*s\", dst_len=%" PRIu64 ") => %" PRIu64,
                      static_cast<void*>(process_sp.get()),
                      static_cast<int>(bytes_read), dst,
                      static_cast<uint64_t>(dst_len),

Modified: lldb/trunk/source/Core/RegisterValue.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/RegisterValue.cpp?rev=248243&r1=248242&r2=248243&view=diff
==============================================================================
--- lldb/trunk/source/Core/RegisterValue.cpp (original)
+++ lldb/trunk/source/Core/RegisterValue.cpp Tue Sep 22 00:07:56 2015
@@ -217,7 +217,7 @@ RegisterValue::SetFromMemoryData (const
     {
         buffer.byte_order = src_byte_order;
         // Make sure to set the buffer length of the destination buffer to avoid
-        // problems due to uninitalized variables.
+        // problems due to uninitialized variables.
         buffer.length = src_len;
     }
 

Modified: lldb/trunk/tools/debugserver/source/RNBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/RNBRemote.cpp?rev=248243&r1=248242&r2=248243&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/RNBRemote.cpp (original)
+++ lldb/trunk/tools/debugserver/source/RNBRemote.cpp Tue Sep 22 00:07:56 2015
@@ -236,7 +236,7 @@ RNBRemote::CreatePacketTable  ()
     t.push_back (Packet (continue_with_sig,             &RNBRemote::HandlePacket_C,             NULL, "C", "Continue with signal"));
     t.push_back (Packet (detach,                        &RNBRemote::HandlePacket_D,             NULL, "D", "Detach gdb from remote system"));
 //  t.push_back (Packet (step_inferior_one_cycle,       &RNBRemote::HandlePacket_UNIMPLEMENTED, NULL, "i", "Step inferior by one clock cycle"));
-//  t.push_back (Packet (signal_and_step_inf_one_cycle, &RNBRemote::HandlePacket_UNIMPLEMENTED, NULL, "I", "Signal inferior, then step one clock cyle"));
+//  t.push_back (Packet (signal_and_step_inf_one_cycle, &RNBRemote::HandlePacket_UNIMPLEMENTED, NULL, "I", "Signal inferior, then step one clock cycle"));
     t.push_back (Packet (kill,                          &RNBRemote::HandlePacket_k,             NULL, "k", "Kill"));
 //  t.push_back (Packet (restart,                       &RNBRemote::HandlePacket_UNIMPLEMENTED, NULL, "R", "Restart inferior"));
 //  t.push_back (Packet (search_mem_backwards,          &RNBRemote::HandlePacket_UNIMPLEMENTED, NULL, "t", "Search memory backwards"));

Modified: lldb/trunk/www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html?rev=248243&r1=248242&r2=248243&view=diff
==============================================================================
--- lldb/trunk/www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html (original)
+++ lldb/trunk/www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html Tue Sep 22 00:07:56 2015
@@ -116,7 +116,7 @@ lldb.formatters.Logger.Logger" class="py
 lldb.formatters.Logger.Logger" class="py-name" href="#" onclick="return doclink('link-23', 'Logger', 'link-2');">Logger</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
 <a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">node</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name" targets="Method lldb.SBValue.GetValueAsUnsigned()=lldb.SBValue-class.html#GetValueAsUnsigned"><a title="lldb.SBValue.GetValueAsUnsigned" class="py-name" href="#" onclick="return doclink('link-24', 'GetValueAsUnsigned', 'link-24');">GetValueAsUnsigned</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
 </div><a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"> </tt>
-<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">        <tt class="py-comment"># Floyd's cyle-finding algorithm</tt> </tt>
+<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">        <tt class="py-comment"># Floyd's cycle-finding algorithm</tt> </tt>
 <a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line">        <tt class="py-comment"># try to detect if this list has a loop</tt> </tt>
 <a name="StdListSynthProvider.has_loop"></a><div id="StdListSynthProvider.has_loop-def"><a name="L32"></a><tt class="py-lineno"> 32</tt> <a class="py-toggle" href="#" id="StdListSynthProvider.has_loop-toggle" onclick="return toggle('StdListSynthProvider.has_loop');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider-class.html#has_loop">has_loop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
 </div><div id="StdListSynthProvider.has_loop-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="StdListSynthProvider.has_loop-expanded"><a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">                <tt class="py-keyword">global</tt> <tt id="link-25" class="py-name" targets="Variable lldb.formatters.cpp.gnu_libstdcpp._list_uses_loop_detector=lldb.formatters.cpp.gnu_libstdcpp-module.html#_list_uses_loop_detector,Variable lldb.formatters.cpp.libcxx._list_uses_loop_detector=lldb.formatters.cpp.libcxx-module.html#_list_uses_loop_detector"><a title="lldb.formatters.cpp.gnu_libstdcpp._list_uses_loop_detector
@@ -410,7 +410,7 @@ lldb.formatters.Logger.Logger" class="py
 <a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">                        <tt class="py-name">end_val</tt>  <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">end</tt><tt class="py-op">.</tt><tt id="link-149" class="py-name"><a title="lldb.SBValue.GetValueAsUnsigned" class="py-name" href="#" onclick="return doclink('link-149', 'GetValueAsUnsigned', 'link-24');">GetValueAsUnsigned</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
 <a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">                        <tt class="py-comment"># Before a vector has been constructed, it will contain bad values</tt> </tt>
 <a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">                        <tt class="py-comment"># so we really need to be careful about the length we return since</tt> </tt>
-<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">                        <tt class="py-comment"># unitialized data can cause us to return a huge number. We need</tt> </tt>
+<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">                        <tt class="py-comment"># uninitialized data can cause us to return a huge number. We need</tt> </tt>
 <a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line">                        <tt class="py-comment"># to also check for any of the start, finish or end of storage values</tt> </tt>
 <a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">                        <tt class="py-comment"># being zero (NULL). If any are, then this vector has not been </tt> </tt>
 <a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line">                        <tt class="py-comment"># initialized yet and we should return zero</tt> </tt>

Modified: lldb/trunk/www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html?rev=248243&r1=248242&r2=248243&view=diff
==============================================================================
--- lldb/trunk/www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html (original)
+++ lldb/trunk/www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html Tue Sep 22 00:07:56 2015
@@ -188,7 +188,7 @@ lldb.formatters.Logger.Logger" class="py
 <a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">                        <tt class="py-name">finish_val</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">finish</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="lldb.SBValue.GetValueAsUnsigned" class="py-name" href="#" onclick="return doclink('link-56', 'GetValueAsUnsigned', 'link-21');">GetValueAsUnsigned</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
 <a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">                        <tt class="py-comment"># Before a vector has been constructed, it will contain bad values</tt> </tt>
 <a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">                        <tt class="py-comment"># so we really need to be careful about the length we return since</tt> </tt>
-<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">                        <tt class="py-comment"># unitialized data can cause us to return a huge number. We need</tt> </tt>
+<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">                        <tt class="py-comment"># uninitialized data can cause us to return a huge number. We need</tt> </tt>
 <a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">                        <tt class="py-comment"># to also check for any of the start, finish or end of storage values</tt> </tt>
 <a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">                        <tt class="py-comment"># being zero (NULL). If any are, then this vector has not been </tt> </tt>
 <a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">                        <tt class="py-comment"># initialized yet and we should return zero</tt> </tt>
@@ -543,7 +543,7 @@ lldb.formatters.Logger.Logger" class="py
 lldb.formatters.Logger.Logger" class="py-name" href="#" onclick="return doclink('link-172', 'Logger', 'link-3');">Logger</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
 <a name="L220"></a><tt class="py-lineno">220</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">node</tt><tt class="py-op">.</tt><tt id="link-173" class="py-name"><a title="lldb.SBValue.GetValueAsUnsigned" class="py-name" href="#" onclick="return doclink('link-173', 'GetValueAsUnsigned', 'link-21');">GetValueAsUnsigned</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
 </div><a name="L221"></a><tt class="py-lineno">221</tt>  <tt class="py-line"> </tt>
-<a name="L222"></a><tt class="py-lineno">222</tt>  <tt class="py-line">        <tt class="py-comment"># Floyd's cyle-finding algorithm</tt> </tt>
+<a name="L222"></a><tt class="py-lineno">222</tt>  <tt class="py-line">        <tt class="py-comment"># Floyd's cycle-finding algorithm</tt> </tt>
 <a name="L223"></a><tt class="py-lineno">223</tt>  <tt class="py-line">        <tt class="py-comment"># try to detect if this list has a loop</tt> </tt>
 <a name="stdlist_SynthProvider.has_loop"></a><div id="stdlist_SynthProvider.has_loop-def"><a name="L224"></a><tt class="py-lineno">224</tt> <a class="py-toggle" href="#" id="stdlist_SynthProvider.has_loop-toggle" onclick="return toggle('stdlist_SynthProvider.has_loop');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="lldb.formatters.cpp.libcxx.stdlist_SynthProvider-class.html#has_loop">has_loop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
 </div><div id="stdlist_SynthProvider.has_loop-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="stdlist_SynthProvider.has_loop-expanded"><a name="L225"></a><tt class="py-lineno">225</tt>  <tt class="py-line">                <tt class="py-keyword">global</tt> <tt id="link-174" class="py-name" targets="Variable lldb.formatters.cpp.gnu_libstdcpp._list_uses_loop_detector=lldb.formatters.cpp.gnu_libstdcpp-module.html#_list_uses_loop_detector,Variable lldb.formatters.cpp.libcxx._list_uses_loop_detector=lldb.formatters.cpp.libcxx-module.html#_list_uses_loop_detector"><a title="lldb.formatters.cpp.gnu_libstdcpp._list_uses_loop_detector




More information about the lldb-commits mailing list