brucem created this revision. brucem added a reviewer: clayborg. brucem added a subscriber: lldb-commits.
Another round of minor typo fixes. http://reviews.llvm.org/D13026 Files: examples/python/symbolication.py examples/summaries/cocoa/CFArray.py examples/synthetic/gnu_libstdcpp.py examples/synthetic/libcxx.py include/lldb/lldb-private-types.h source/API/SBProcess.cpp source/Core/RegisterValue.cpp tools/debugserver/source/RNBRemote.cpp www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html
Index: www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html =================================================================== --- www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html +++ www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html @@ -188,7 +188,7 @@ <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-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 Index: www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html =================================================================== --- www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html +++ www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html @@ -116,7 +116,7 @@ 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 @@ <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> Index: tools/debugserver/source/RNBRemote.cpp =================================================================== --- tools/debugserver/source/RNBRemote.cpp +++ tools/debugserver/source/RNBRemote.cpp @@ -236,7 +236,7 @@ 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")); Index: source/Core/RegisterValue.cpp =================================================================== --- source/Core/RegisterValue.cpp +++ source/Core/RegisterValue.cpp @@ -217,7 +217,7 @@ { 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; } Index: source/API/SBProcess.cpp =================================================================== --- source/API/SBProcess.cpp +++ source/API/SBProcess.cpp @@ -409,7 +409,7 @@ 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), Index: include/lldb/lldb-private-types.h =================================================================== --- include/lldb/lldb-private-types.h +++ include/lldb/lldb-private-types.h @@ -51,7 +51,7 @@ // 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; Index: examples/synthetic/libcxx.py =================================================================== --- examples/synthetic/libcxx.py +++ examples/synthetic/libcxx.py @@ -73,7 +73,7 @@ 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 @@ 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 Index: examples/synthetic/gnu_libstdcpp.py =================================================================== --- examples/synthetic/gnu_libstdcpp.py +++ examples/synthetic/gnu_libstdcpp.py @@ -27,7 +27,7 @@ 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 @@ 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 Index: examples/summaries/cocoa/CFArray.py =================================================================== --- examples/summaries/cocoa/CFArray.py +++ examples/summaries/cocoa/CFArray.py @@ -147,7 +147,7 @@ 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() Index: examples/python/symbolication.py =================================================================== --- examples/python/symbolication.py +++ examples/python/symbolication.py @@ -223,7 +223,7 @@ @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
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits